How to do this operation

17 visualizzazioni (ultimi 30 giorni)
Min Jung
Min Jung il 15 Lug 2015
Risposto: bio lim il 15 Lug 2015
A = [3 5 7 8........] B = [1 2 4 5 6 ....] A has 13 more elements than B. How to multiply each element of A and B?

Risposta accettata

bio lim
bio lim il 15 Lug 2015
A(1:length(A)-13) .* B

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by