Réponse apportée
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. ...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 1

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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 ...

presque 14 ans il y a | 0

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

presque 14 ans il y a | 1

Réponse apportée
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? ...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 14 ans il y a | 1

| A accepté

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

presque 14 ans il y a | 1

Réponse apportée
Convert .mat to .dcm (Matlab data to DICOM format)
doc dicomwrite

presque 14 ans il y a | 1

Réponse apportée
NUMBER OF OCCURRENCE OF AN ELEMENT IN AN ARRAY
doc hist

presque 14 ans il y a | 1

Réponse apportée
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;...

presque 14 ans il y a | 0

Réponse apportée
convert CT slice to 3d array
If you have the images in DICOM format, you can use 'dicomread' to read the images. help dicomread

presque 14 ans il y a | 1

Réponse apportée
Read .txt file with header
The 'textscan' function should do the trick. doc textscan

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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 ...

presque 14 ans il y a | 1

Réponse apportée
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 ...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Intersection of two 7x2 matrix
Ynv = intersect(Y,v,'rows')

presque 14 ans il y a | 0

| A accepté

Réponse apportée
CONVOLUTIONAL CODING and VITERBI DECODING
What is your budget for this consulting request?

presque 14 ans il y a | 1

Réponse apportée
Plotting Bessel Function J0(2pi*(v1x)*r/c)
doc besselj

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 0

Charger plus