Problem in using asin function
Mostra commenti meno recenti
Consider the followingj
t = 0 : 0.02 : 10;
nu = (t-5).^2 + 2;
omega = 2*pi*nu;%as a polynomial of degree 2
f = sin(omega);
Since f has defined as sin(omega), it should be possible to recalculate omega from f. That is:
Omega = asin(f);
plot(t,omega,'b',t,Omega,'r--')

Of course omega and Omega are no the same. But, is there any solution for this problem?
2 Commenti
Sriram Tadavarty
il 15 Mar 2020
Should this use sind and asind functions?
Alex Dell
il 30 Mar 2021
You could try normalising your polynomial such that it fits within the first interval of the asin function and then multiply the final terms by this same factor.
f = sin(omega./max(omega));
Omega = asin(f).*max(omega);
This should then give a consistent output to your original polynomial.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Data Acquisition Toolbox Supported Hardware 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!