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

1 view (last 30 days)
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;

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!