wireless power transfer efficiency

5 vues (au cours des 30 derniers jours)
Soukaina
Soukaina le 27 Juin 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.

Réponses (1)

Rohit Kulkarni
Rohit Kulkarni le 15 Août 2024
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.
This can be achieved in the following way:
%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
Hope this helps you resolve your query!

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by