wireless power transfer efficiency

11 views (last 30 days)
Soukaina
Soukaina on 27 Jun 2022
Answered: Rohit Kulkarni on 2 Jul 2022
hi, could you help me to find the code of the efficiency curve as a function of frequency, the result will be as the picture shows.

Answers (1)

Rohit Kulkarni
Rohit Kulkarni on 2 Jul 2022
Hi,
You can use the plot function to plot the graph for various values of K.
As frequency will be a vector. You will have to calculate a efficiency vector corresponding to a particular "K" value for the particular range of frequency.
you can do it like this:
%frequency is a vector of the range you want to pass
plot(frequency, calculate_efficiency_vector(0.2, frequency))
hold on
for K = [0.175 0.15 0.125 0.1 0.075 0.05]
plot(frequency, calculate_efficiency_vector(K, frequency))
end
hold off
function efficiency = calculate_efficiency_vector(K, frequency)
efficiency = %write the function here, in terms of K and frequency
end

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!