Effacer les filtres
Effacer les filtres

option "Interpret vector parameter as 1-D" in Constant block

8 vues (au cours des 30 derniers jours)
Owen
Owen le 13 Nov 2012
Hi,
in Constant block there is an option called "Interpret vector parameter as 1-D". I tried this option and found out the following difference.
The configuration is: Constant value = [1;2;3;4] With this option: 1 2 3 4 1 2 3 4 ...
Without this Option: 1 2 3 4 1 2 3 4 ...
That is, this opion can change column vectors to line vectors. Is it the purpose of this option?
Thanks Senmeis

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 13 Nov 2012
With the option "Interpret vector parameter as 1-D"
x=[1 2 3 4] and x=[1;2;3;4] are considered as a line vector which means it takes x= [1 2 3 4]
Without the above option
x=[1 2 3 4] and x=[1;2;3;4] are differents

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by