답변 있음
so I'm making a videogame
Do you have any calls to 'drawnow'? I don't think that simply changing the xdata/ydata is supposed to change handle visibility. ...

14년 초과 전 | 0

답변 있음
Add Value to GUI
To clarify, you are trying to make a GUI? Are you going to replace the calls to 'input' (which gets information from the command...

14년 초과 전 | 0

답변 있음
Need help very new to Matlab
What does this part mean "I basically need y2 to find its matching value below or above .01 in the y1 column"? y2 differs fro...

14년 초과 전 | 0

답변 있음
watershed I have an image with contours but this ALgorithme don't output a good result, if someone has a good solution please , i need your help
Two things: -Have you looked through the demos for the Image Processing Toolbox at some of the other tools for contour dete...

14년 초과 전 | 1

답변 있음
how write a matlab code for adaptive thersholding
This is a pretty big question. Is there a particular algorithm that you are trying to implement? A simple Google search for "Mat...

14년 초과 전 | 0

답변 있음
Streeter Pheps Equations
What have you done so far? To get you started, look at the documentation for ode45 (and the other ODE solvers). The documentati...

14년 초과 전 | 0

답변 있음
Technology used
Hardware/RAM/Disk space: This is a pretty difficult question to recommend on a general basis, as it depends on your specific im...

14년 초과 전 | 0

답변 있음
how to read complicated CSV files into matlab?
Can you excerpt the actual text of your CSV file (not the file imported into Excel that you screenshot, but the actual original ...

14년 초과 전 | 0

답변 있음
Segmentation on brain tumour images??
Hi Serdar, Although you emailed me personally, the general etiquette around here is that all communication should go through ...

14년 초과 전 | 1

답변 있음
i want my fun value to be zero and also should satisfy the constraints,i uesd fmincon command
Perhaps your optimization is getting stuck in a local minimum. Try a different set of initial guesses (x0)-- does this help? ...

14년 초과 전 | 0

답변 있음
Segmentation on brain tumour images??
I would check out BlobsDemo on the File Exchange to get an overview of different segmentation approaches and how to calculate re...

14년 초과 전 | 1

| 수락됨

답변 있음
Summation after looping
When you use the 'for' statement, you iteratively set ri to each of the values 0, 1, 2, 3. Thus ri only contains 3 after the lo...

14년 초과 전 | 1

| 수락됨

답변 있음
String parsing with a delimiter
To expand upon that, you can do something like this to loop through the entire string. str = 'counter=10;count=7'; par...

14년 초과 전 | 1

| 수락됨

답변 있음
String parsing with a delimiter
What is your desired output? You might be able to do this easier with regular expressions. doc regexp

14년 초과 전 | 1

답변 있음
Convert .mat to .dcm (Matlab data to DICOM format)
doc dicomwrite

14년 초과 전 | 1

답변 있음
NUMBER OF OCCURRENCE OF AN ELEMENT IN AN ARRAY
doc hist

14년 초과 전 | 1

답변 있음
how to draw border
To draw the border, you can just use 'plot': w=[26 77]; x=[26 555]; y=[426 77]; z=[426 555]; Points = [w;x;z;y;...

14년 초과 전 | 0

답변 있음
convert CT slice to 3d array
If you have the images in DICOM format, you can use 'dicomread' to read the images. help dicomread

14년 초과 전 | 1

답변 있음
Read .txt file with header
The 'textscan' function should do the trick. doc textscan

14년 초과 전 | 0

답변 있음
Merge vector and matrix based on values in the vector?
Use logical indexing: a=logical([0;1;1;0]); b=[1,13,20,15,1,6,12,0; 5,2,3,4,5,67,1,8; 1,13,14,15,1,6,8,0; 99,2,13,4,5,67...

14년 초과 전 | 0

| 수락됨

답변 있음
Implement "browse button" for interface with Matlab? (gui)
For the browse feature: doc uigetfile Then set the 'String' property of the edit uicontrol to the filename returned from...

14년 초과 전 | 0

답변 있음
How do I display all values on one line using disp function only when values are taken from a loop
The 'disp' function will automatically format each result onto a new line. Use the 'fprintf' function instead: fprintf('%d ...

14년 초과 전 | 1

답변 있음
Change rows in a matrix so that no number is repeated more than 3 times in each column
I'm not sure what you are trying to do. I tested this script with the input matrix: 8 8 91 9 9 18 ...

14년 초과 전 | 0

답변 있음
How to named/called the files: Yi.dat for i=1:nt ?
I didn't go through the entire code, but I think you want the line to be: csvwrite(['Y', num2str(nt), '.dat'],Y); By the...

14년 초과 전 | 0

| 수락됨

답변 있음
its a big problem for me
Well the easiest way would be using eval, like str = '5+3-2*4'; %the text field answer = eval(str); %when you click th...

14년 초과 전 | 0

답변 있음
equality operator between matrix and scalar
This is due to floating point precision errors, explained here: <http://blogs.mathworks.com/loren/2006/08/23/a-glimpse-into-floa...

14년 초과 전 | 0

| 수락됨

답변 있음
Intersection of two 7x2 matrix
Ynv = intersect(Y,v,'rows')

14년 초과 전 | 0

| 수락됨

답변 있음
CONVOLUTIONAL CODING and VITERBI DECODING
What is your budget for this consulting request?

14년 초과 전 | 1

답변 있음
Plotting Bessel Function J0(2pi*(v1x)*r/c)
doc besselj

14년 초과 전 | 0

답변 있음
plot boat heading
My guess is that you would need to take the sine and cosine of the boat heading. Something like: U = mag*cosd( track(1,1).h...

14년 초과 전 | 0

더 보기