s2y not working for 4x4 matrix

4 visualizaciones (últimos 30 días)
Gundars
Gundars el 10 de Mzo. de 2017
Respondida: Ganesh Hegade el 13 de Mzo. de 2017
Hi why s2t is working for 2x2 matrix but not for 4x4 matrix?
This is fine >> ola=[1 2;3 4]; >> s2t(ola);
this creates an error >> ola=[1 2 3;1 2 3;1 2 3]; >> s2t(ola)
Error using CheckNetworkData (line 90) S_PARAMS must be a complex 2x2xM array.
Error in s2t (line 24) CheckNetworkData(s_params, 2, 'S_PARAMS');
working on MATLAB R2014b
  2 comentarios
Ganesh Hegade
Ganesh Hegade el 10 de Mzo. de 2017
I think its because you are passing 3x3 matrix. As per the s2t function guideline input supposed to be 2x2 matrix. s2t
Gundars
Gundars el 10 de Mzo. de 2017
Yup, you are right. s2t can handle only 2x2. I was imagined that there is no limitations for this function, as it is possible mathematically.
Thank you -> Ganesh Hegade

Iniciar sesión para comentar.

Respuestas (1)

Ganesh Hegade
Ganesh Hegade el 13 de Mzo. de 2017
I think its because you are passing 3x3 matrix. As per the s2t function guideline input supposed to be 2x2 matrix. s2t

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by