mbonus
2016년부터 활동
Followers: 0 Following: 0
Feeds
답변 있음
why zero to the power of zero is not NaN?
0^0 = 1, that's why MATLAB returns 1. "If f and g are real functions that vanish at the origin and are analytic at 0 (infinitel...
why zero to the power of zero is not NaN?
0^0 = 1, that's why MATLAB returns 1. "If f and g are real functions that vanish at the origin and are analytic at 0 (infinitel...
대략 8년 전 | 0
답변 있음
I have a matrix with values from -180 to 180 and i want to find all the places where each value is and then save them in a new matrix, how can i do it?
Is this what you're looking for? Result = []; for a = -180:180 [ind1,ind2] = find(ORIENT == a); Result(a,1...
I have a matrix with values from -180 to 180 and i want to find all the places where each value is and then save them in a new matrix, how can i do it?
Is this what you're looking for? Result = []; for a = -180:180 [ind1,ind2] = find(ORIENT == a); Result(a,1...
대략 8년 전 | 0
답변 있음
I am out of practice with MATLAB and I'm trying to get the sum from a loop to add itself to the sum of each iteration of the loop. I can accomplish by manually stepping the loop, but I know there must be an easier way. Can someone please help?
This is what it looks like you are trying to do to me h=input('What is height? '); l=input('What is length? '); w=i...
I am out of practice with MATLAB and I'm trying to get the sum from a loop to add itself to the sum of each iteration of the loop. I can accomplish by manually stepping the loop, but I know there must be an easier way. Can someone please help?
This is what it looks like you are trying to do to me h=input('What is height? '); l=input('What is length? '); w=i...
대략 8년 전 | 0
| 수락됨
답변 있음
Save values in a loop in a vector
before the loop v = zeros(size(d)); then just insert this line for each part of the if structure v(i) = d(i); I...
Save values in a loop in a vector
before the loop v = zeros(size(d)); then just insert this line for each part of the if structure v(i) = d(i); I...
대략 8년 전 | 0
답변 있음
how we get matlab software with lisence
Purchase the license on MathWorks and download the software. plot(x,y,'LineSpec') LineSpec determines the color and type...
how we get matlab software with lisence
Purchase the license on MathWorks and download the software. plot(x,y,'LineSpec') LineSpec determines the color and type...
대략 8년 전 | 0
답변 있음
Loop results in an array
timevector = [1:7]; rabbitvector = zeros(7,1);%change the value of 7 in the arrays to allow more time steps dt = 1; w...
Loop results in an array
timevector = [1:7]; rabbitvector = zeros(7,1);%change the value of 7 in the arrays to allow more time steps dt = 1; w...
대략 8년 전 | 0
답변 있음
Initially Disabled Button Group when using GUI / GUIDE
If the value you are checking in the if statement is true when the GUI starts up, that may be causing the button group to start ...
Initially Disabled Button Group when using GUI / GUIDE
If the value you are checking in the if statement is true when the GUI starts up, that may be causing the button group to start ...
대략 8년 전 | 0
답변 있음
How to select some part of a matrix ?
b = A(:,1) > 43; c = A(:,1) < 59; d = b & c; result = A(d,2)
How to select some part of a matrix ?
b = A(:,1) > 43; c = A(:,1) < 59; d = b & c; result = A(d,2)
대략 8년 전 | 3
| 수락됨
답변 있음
Error in repetition of for loop
I believe that your second test of <=length(r) is being tested against a logical 1. This is due to the fact that p && u is being...
Error in repetition of for loop
I believe that your second test of <=length(r) is being tested against a logical 1. This is due to the fact that p && u is being...
대략 8년 전 | 0
답변 있음
Read in all inputs on a a GUI when I press the RUN pushbutton.
Create a push button that will take the values from all the other uicontrols and have it pass them into the function. In the ca...
Read in all inputs on a a GUI when I press the RUN pushbutton.
Create a push button that will take the values from all the other uicontrols and have it pass them into the function. In the ca...
대략 8년 전 | 0
답변 있음
Geting a Unexpected MATLAB expression , for my function but works fine on the console
try function w = flip_it(v)
Geting a Unexpected MATLAB expression , for my function but works fine on the console
try function w = flip_it(v)
대략 8년 전 | 0
답변 있음
How to get data from database in GUI?
You can do get(findobj('tag','objTagName'),'String') or get(hObject,'String') where objTagName is the tag you assi...
How to get data from database in GUI?
You can do get(findobj('tag','objTagName'),'String') or get(hObject,'String') where objTagName is the tag you assi...
대략 8년 전 | 0
답변 있음
Is there any way to prevent a user from interacting with a figure while the rest of the code runs?
After digging through the documentation I found the enable property and it solves the problem.
Is there any way to prevent a user from interacting with a figure while the rest of the code runs?
After digging through the documentation I found the enable property and it solves the problem.
대략 8년 전 | 1
| 수락됨
질문
Is there any way to prevent a user from interacting with a figure while the rest of the code runs?
Hello, I have a file that creates a GUI where each subsequent function adds to it until it returns to the original function. I w...
대략 8년 전 | 답변 수: 1 | 0
1
답변답변 있음
How to interact with Figure while input() is active
You can try to create a GUI and use uiwait(hObject). Then you can just have program execution resume when the user clicks on the...
How to interact with Figure while input() is active
You can try to create a GUI and use uiwait(hObject). Then you can just have program execution resume when the user clicks on the...
대략 8년 전 | 0
답변 있음
How do I convert a text file into a string matrix؟
Try to import on line at a time in a for loop. Then within that loop convert the line into an array. You would then save that ar...
How do I convert a text file into a string matrix؟
Try to import on line at a time in a for loop. Then within that loop convert the line into an array. You would then save that ar...
8년 초과 전 | 0