I want to find the inverse of my function 'mag' and plot it as 'mag1'

2 visualizzazioni (ultimi 30 giorni)
clc
clear
close all
subplot(2,1,1);
theta = 0:0.01:2*pi;
mag = sin(3*theta);
polarplot(mag)
title('Fan-Blade Polar Plot');
grid on;
subplot(2,1,2);
syms theta
theta = 0:0.01:2*pi;
mag1 = finverse(theta);
mag2 = (sin(3*theta))/2;
polarplot(mag)
hold on;
polarplot(mag1)
polarplot(mag2)
title('Multi Polar Plot');
grid on;

Risposta accettata

KSSV
KSSV il 6 Set 2021
Inverse of
mag = sin(3*theta);
Would be:
theta = asin(mag)/3 ;

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by