Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how will this code take input in matrix form for scaler multiplication??

1 Ansicht (letzte 30 Tage)
Aimen Mujahid
Aimen Mujahid am 14 Mär. 2017
Geschlossen: John D'Errico am 14 Mär. 2017
function b =check(Q)
Q(3:2)=zeros(3,2);
Qmd2=Q(3:2);
disp(Qmd2);
c=[1 2;1 3;1 4];
b=c.*Qmd2;
end
  3 Kommentare
Aimen Mujahid
Aimen Mujahid am 14 Mär. 2017
then how take input matrix for the multiplicaton with same dimension?
John D'Errico
John D'Errico am 14 Mär. 2017
You are making no sense at all. Sorry. As I pointed out, the code you have shown cannot ever run at all, for any input. Since I have no idea what you want it to do, I cannot give an answer to a question about the code, or how to change it.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by