Is there any easy way to change x*y production to x.*y production?
Mostra commenti meno recenti
Is there any easy way to change x*y production to x.*y production? Hi I have huge function.m result and I numerically integrate it with quad code. but in my result, production is like x*y but for quad code I need to write them x.*y but result is really big so it is not easy and also maybe it leads to problem when I change them by hand. Therefore do you know any easy method to change them?
Risposta accettata
Più risposte (2)
The VECTORIZE command might be applicable,
>> vectorize('x*y')
ans =
x.*y
Iain
il 3 Giu 2013
1 voto
Find and replace?
Categorie
Scopri di più su Common Operations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!