Effacer les filtres
Effacer les filtres

How can I compare if it is a matrix is 3x2? in if or switch statement

3 vues (au cours des 30 derniers jours)
I'm trying to compare that if a system of equations that is an augmented matrix is of such a dimension (3x2) make the case 1 in switch statement to solve that system
switch m == [(2,:),(:,3)]

Réponse acceptée

Roger Stafford
Roger Stafford le 2 Nov 2017
if all(size(m)==[3,2])

Plus de réponses (0)

Catégories

En savoir plus sur Dynamic System Models dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by