Define input and output vector/matrix
Mostrar comentarios más antiguos
Hi guys,
I am new to use Matlab to solve functions and there is one problem that I hope you guys can help me.
The situation is, input A as a m*1 vector, like [1,2,3]; after calculation in a equation we get output B (result is a m*1 vector); then another vector input C, n*1, is involved; after input in another equation (contain both B and C) for calculation, we get result D, which should be a m*n matrix.
In this scenario, how can I define A, B, C, and finally get the result D in a matrix format?
Thanks,
Respuestas (1)
Star Strider
el 25 de Ag. de 2015
0 votos
2 comentarios
Mac Lin
el 25 de Ag. de 2015
Star Strider
el 25 de Ag. de 2015
Is ‘k’ a scalar, vector, or matrix?
What are the sizes of all the vectors and matrices in your calculations?
In what order do you want to do them?
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!