![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13674399_1537959563594_DEF.jpg)
merlin kelly
Followers: 0 Following: 0
Statistiques
2 Questions
0 Réponses
RANG
235 305
of 297 016
RÉPUTATION
0
CONTRIBUTIONS
2 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
50.0%
VOTES REÇUS
0
RANG
of 20 419
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 157 725
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
I have tried to make a loop where it displays all the answers in a matrix but it doesn't give me the 21x3 matrix. Am i using wrong commands or am i missing something.
t=0; for v=[t,sin(t),cos(t)] if t<21 disp(v) t=t+1; end end
plus de 6 ans il y a | 1 réponse | 0
1
réponseQuestion
I have finished my script but i want to simplify it instead of leaving it looking cluttered, I am mainly looking for a shortcut.
t=0; a=[t,sin(t),0]; b=[0,0,cos(t)]; v0=a+b; t=1; a=[t,sin(t),0]; b=[0,0,cos(t)]; ...
plus de 6 ans il y a | 1 réponse | 0