回答済み
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...

12年以上 前 | 0

回答済み
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 ...

12年以上 前 | 1

| 採用済み

回答済み
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...

12年以上 前 | 2

| 採用済み

回答済み
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...

12年以上 前 | 0

回答済み
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 ...

12年以上 前 | 0

| 採用済み

回答済み
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...

12年以上 前 | 2

| 採用済み

回答済み
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...

12年以上 前 | 0

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

12年以上 前 | 1

回答済み
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...

12年以上 前 | 0

| 採用済み

回答済み
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...

12年以上 前 | 0

回答済み
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...

12年以上 前 | 1

回答済み
Problem in fmincon solver
what's the exitflag?

12年以上 前 | 0

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

12年以上 前 | 2

回答済み
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 ...

12年以上 前 | 0

回答済み
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...

12年以上 前 | 0

| 採用済み

回答済み
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...

12年以上 前 | 0

回答済み
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...

12年以上 前 | 0

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

12年以上 前 | 0

| 採用済み

回答済み
how can write XOR function in MATLAB
http://www.mathworks.com/help/matlab/ref/xor.html

12年以上 前 | 0

質問


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

12年以上 前 | 1 件の回答 | 0

1

回答

回答済み
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...

12年以上 前 | 0

質問


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

12年以上 前 | 1 件の回答 | 1

1

回答

回答済み
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...

12年以上 前 | 0

質問


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

12年以上 前 | 1 件の回答 | 0

1

回答