How to write a matrix using for loop
Afficher commentaires plus anciens
I want to create a matrix that contains points as x and y coordinates. like this :
A=[1111222233334444
1234123412341234]
it has to be like this and i want to create this using for loop . Is there any way to do so ?
2 commentaires
Steven Lord
le 14 Mar 2019
If you show us what you've tried so far we may be able to offer some guidance for how to improve or correct that code.
Shahrukh Hossain
le 16 Mar 2019
Réponses (2)
Matt J
le 14 Mar 2019
2 votes
Yes.
5 commentaires
Shahrukh Hossain
le 14 Mar 2019
Matt J
le 14 Mar 2019
Yes, I know how.
Shahrukh Hossain
le 14 Mar 2019
Shahrukh Hossain
le 14 Mar 2019
TADA
le 16 Mar 2019
0 votes
I would start at the documentation
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!