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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 1

Beantwortet
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;...

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

Mehr laden