photo

Sunil Ojwani


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

All
MATLAB Answers

4 Questions
2 Réponses

Cody

0 Problèmes
2 Solutions

RANG
177 347
of 300 786

RÉPUTATION
0

CONTRIBUTIONS
4 Questions
2 Réponses

ACCEPTATION DE VOS RÉPONSES
50.0%

VOTES REÇUS
0

RANG
 of 21 091

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
94 992
of 171 061

CONTRIBUTIONS
0 Problèmes
2 Solutions

SCORE
30

NOMBRE DE BADGES
1

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Solver
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

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

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 7 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

environ 7 ans il y a | 0

| A accepté

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

environ 7 ans il y a | 3 réponses | 0

3

réponses

A résolu


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

environ 7 ans il y a

A résolu


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

environ 7 ans il y a

Question


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

environ 7 ans il y a | 1 réponse | 0

1

réponse