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

조회 수: 2 (최근 30일)
ARAH MIZORI
ARAH MIZORI 2021년 9월 6일
답변: KSSV 2021년 9월 6일
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;

채택된 답변

KSSV
KSSV 2021년 9월 6일
Inverse of
mag = sin(3*theta);
Would be:
theta = asin(mag)/3 ;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by