Respondida
What is the easiest way to find a cyl <-> cyl intersection?
Lets assume both of your cylinders are of radius r1 and r2. You can represent a cylinder in cartesian coordinates (x,y,z) using...

más de 12 años hace | 0

Respondida
Help me about the code for GUIDE of Matlab ?
You can delete the _Callback functions if you are not using it and that will not give any errors. However you should not delete ...

más de 12 años hace | 1

| aceptada

Respondida
What is the most efficient way: load or set global variable
If you don't change the values for promat inside the function, Matlab will not be allocating a new memory for promat. As long a...

más de 12 años hace | 2

| aceptada

Respondida
I want to find the initial parameters for nlinfit, but I do not calculate it!
I think this problem is suffering from a non-unique solution scenario. You are trying to fit 6 data points with 3 coefficient fu...

más de 12 años hace | 0

Respondida
Please help: Output as 'text' file in 'for' loop not moving to new line - not the standard '\r\n' fix
I don't see the loop. If the loop is applied on the code you gave here, it will produce only the last line. In every loop, you ...

más de 12 años hace | 0

| aceptada

Respondida
Help me about the Static text og GUIDE ?
No, you can't using the default matlab static text. The verticalAlignment is disabled. However, this might something that you sh...

más de 12 años hace | 2

| aceptada

Respondida
Create a random matrix?
@Roger: This is a very interesting approach and got me curious. However I think this will not satisfy the random number scenario...

más de 12 años hace | 0

Respondida
Using logical operators within if statement
I think you need to use or (||) .. instead of &

más de 12 años hace | 1

Respondida
I want to create a random matrix?
okay .. an approach would be rejection method .. be careful .. for extremely large matrix this will be a bad idea .. tmp1= rand...

más de 12 años hace | 0

| aceptada

Respondida
I want to create a random matrix?
write down all possible ways to get 3 or less than 3 using integers 0-4 like [1 0 0 0 0] [1 1 0 0 0] etc.... pick one of the ma...

más de 12 años hace | 0

Respondida
How to make my GUIDE look more professional ?
what do you mean its not professional? is it functioning? take a look at this - http://www.matlabtips.com/practical-considerati...

más de 12 años hace | 1

Respondida
Problem in fmincon solver
what's the exitflag?

más de 12 años hace | 0

Respondida
How to get row index of certain values in a vector
index = find(obj.GanttM(:,2)==i) this will do it!

más de 12 años hace | 2

Respondida
loop executing more then the given iteration.
First try this function <http://www.mathworks.com/help/stats/combnk.html> This might be a little help for what you trying to ...

más de 12 años hace | 0

Respondida
reverse of fnval: evaluate the variable for given value of function
If you have the plot in matlab, that means you must have (x,f(x)) data to begin with. If this is the only data set you are looki...

más de 12 años hace | 0

| aceptada

Respondida
loop executing more then the given iteration.
There are 2 loops. Loop y and loop z. The only time switch is activating is for y = 1 ( I dont understand the purpose of that...

más de 12 años hace | 0

Respondida
Bitwise addition if bit is 1.but not gettin answer.
The question is unclear. Can you elaborate? One issue I see is that q(i) == '1' and not q(i) == 1. As q is a string and not a...

más de 12 años hace | 0

Respondida
Help me about GUI in Matlab
Here is a tutorial example - This might help you <http://www.matrixlab-examples.com/matlab-gui.html>

más de 12 años hace | 0

| aceptada

Respondida
how can write XOR function in MATLAB
http://www.mathworks.com/help/matlab/ref/xor.html

más de 12 años hace | 0

Pregunta


Finding a random non-zero location in a vector
I have a vector (Rs, size n x 1) which has few zeros and rest nonzero values. I need to randomly find a index to a nonzero value...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Respondida
How do I rectify this 'out of index' error?
The error is as Walter mentioned. If you want to stick to the format you showed in your post, the solution is also included in t...

más de 12 años hace | 0

Pregunta


Small Matrix (30x1) using significant time/memory to update in a loop
I have a small vector Rv (30x1) which need to be updated in every loop. Before going in the loop, I have initiated the vector as...

más de 12 años hace | 1 respuesta | 1

1

respuesta

Respondida
How to export variables in mat file to excel?
I think you are trying to get average value for velocity. If that's correct simply use mean(HistStruct.velocity) This w...

más de 12 años hace | 0

Pregunta


Changing array size while using Find Function
The matlab answers have been very helpful to me and I am grateful to all you guys. This is my first question and I hope you can ...

más de 12 años hace | 1 respuesta | 0

1

respuesta