Sunil Ojwani
Followers: 0 Following: 0
Statistics
RANK
174,077
of 292,709
REPUTATION
0
CONTRIBUTIONS
4 Questions
2 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 19,934
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
how to divide a matrix by its norm in for loop
i want s/|s| s=[x(2)+x(1);x(1)+x(3)]; i write as it for i=1:n s1(i)=x2(i)+x1(i); s2(i)=x1(i)+x3(i); sm(:,i)=...
4 years ago | 1 answer | 0
1
answerQuestion
Having a system of three state I put the odes in a function and the script to solve the given function I'm getting NaN for output of ode45
my function is function xdot=func4(t,x) A=[0 1 0;0 0 1;-1 -2 -3] B=[0 0;0 1;1 0] C1=[0 1]' C2=[1 0 ;0 1] C3=[1 0]' ...
5 years ago | 1 answer | 0
1
answerHaving a system of three state I put the odes in a function and the script to solve the given function but now it is executing continuously, so tell me how to stop it?
now i can not plot control input u
5 years ago | 0
Having a system of three state I put the odes in a function and the script to solve the given function but now it is executing continuously, so tell me how to stop it?
sorry sir, i tried the solution suggested by you but the result from your solution is not the same as required in this pic...
5 years ago | 0
| accepted
Question
Having a system of three state I put the odes in a function and the script to solve the given function but now it is executing continuously, so tell me how to stop it?
function xdot=func4(t,x) A=[0 1 0;0 0 1;-1 -2 -3] B=[0 0;0 1;1 0] C1=[0 1]' C2=[1 0 ;0 1] C3=[1 0]' s=[C1*x(1)+C2*[x...
5 years ago | 3 answers | 0
3
answersSolved
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
5 years ago
Solved
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
5 years ago