Answered
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. ...

13 years ago | 0

Answered
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...

13 years ago | 0

Answered
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...

13 years ago | 0

Answered
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...

13 years ago | 1

Answered
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...

13 years ago | 0

Answered
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...

13 years ago | 0

Answered
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...

13 years ago | 0

Answered
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 ...

13 years ago | 0

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

13 years ago | 1

Answered
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? ...

13 years ago | 0

Answered
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...

13 years ago | 1

| accepted

Answered
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...

13 years ago | 1

| accepted

Answered
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...

13 years ago | 1

| accepted

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

13 years ago | 1

Answered
Convert .mat to .dcm (Matlab data to DICOM format)
doc dicomwrite

13 years ago | 1

Answered
NUMBER OF OCCURRENCE OF AN ELEMENT IN AN ARRAY
doc hist

14 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
Read .txt file with header
The 'textscan' function should do the trick. doc textscan

14 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
Intersection of two 7x2 matrix
Ynv = intersect(Y,v,'rows')

14 years ago | 0

| accepted

Answered
CONVOLUTIONAL CODING and VITERBI DECODING
What is your budget for this consulting request?

14 years ago | 1

Answered
Plotting Bessel Function J0(2pi*(v1x)*r/c)
doc besselj

14 years ago | 0

Answered
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 years ago | 0

Load more