필터 지우기
필터 지우기

function problem in matlab

조회 수: 2 (최근 30일)
ali hassan
ali hassan 2020년 12월 11일
답변: Walter Roberson 2020년 12월 11일
this is my function to get value of n but its not working.
code:
function[n]=agc(x)
n=1
(0.3790)*x=(1.1)^n
end

채택된 답변

Walter Roberson
Walter Roberson 2020년 12월 11일
(0.3790)*x=(1.1)^n
implies that
log(0.3790) +log(x) = n * log(1.1)
which implies that
n = (log(0.3790) + log(x))./log(1.1)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by