photo

Sunil Ojwani


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

All
MATLAB Answers

4 Fragen
2 Antworten

Cody

0 Probleme
2 Lösungen

RANG
177.343
of 300.779

REPUTATION
0

BEITRÄGE
4 Fragen
2 Antworten

ANTWORTZUSTIMMUNG
50.0%

ERHALTENE STIMMEN
0

RANG
 of 21.084

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG
94.946
of 170.997

BEITRÄGE
0 Probleme
2 Lösungen

PUNKTESTAND
30

ANZAHL DER ABZEICHEN
1

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Solver
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 7 Jahre vor | 0

| akzeptiert

Frage


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

etwa 7 Jahre vor | 3 Antworten | 0

3

Antworten

Gelöst


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

etwa 7 Jahre vor

Gelöst


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

etwa 7 Jahre vor

Frage


how can i write square root of mod x1(t)
sqrt(x(1)*t)

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort