how to convert linear frequency to bode plot frequency

hello,
i want to know how i can convert linear frequency to decade log frequency scale as used in Bode plot. I don't want to use the matlab inbuilt functions as it would not help in real understanding.
thanks!!

Answers (1)

I would do something like this if you want to emulate the logspace function:
linv = -1:3; % Linear Vector
logv = 10.^linv; % Homebuilt ‘logspace’ Function
logv =
0.1 1 10 100 1000
I’m not certain what you want. Experiment with this idea to get the result you want.

Categories

Tags

Asked:

on 14 Jan 2017

Answered:

on 14 Jan 2017

Community Treasure Hunt

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

Start Hunting!