calculating simple 2 equations with matlab. give me matlab code please~~

2 vues (au cours des 30 derniers jours)
whiyan
whiyan le 19 Oct 2020
Commenté : KSSV le 19 Oct 2020

Réponse acceptée

KSSV
KSSV le 19 Oct 2020
That is pretty simple.....I will give some demo example..you have to extend it to your case.
Say got give f I want to find y = log(1/(sqrt(2)*pi*f))
f = 2 ;
y = log(1/(sqrt(2)*pi*f))
  6 commentaires
John D'Errico
John D'Errico le 19 Oct 2020
My bet? What is the difference between log, and log10? I know, just a factor of the natural log of 10.
But many times when someone writes log, they think they mean log to the base 10.
KSSV
KSSV le 19 Oct 2020
You have missed a bracket in the lines which you have given.
f=20;
y=20*log(1/sqrt(1+(2*pi*f*102*10^-9*985.1)^2))

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by