Matlab vector and arrays

6 vues (au cours des 30 derniers jours)
Miller will
Miller will le 6 Oct 2020
How to Use the operator ‘:’ (colon) to create vectors of number series from 1 to 20 stored to variable X and number series of 10 to 25 stored to variable Y.

Réponse acceptée

Sudhakar Shinde
Sudhakar Shinde le 6 Oct 2020
You can use directly colon (:) operator.
X=1:20
Y=10:25
For more info:

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by