필터 지우기
필터 지우기

How to map a vector onto smf function?

조회 수: 5 (최근 30일)
jiyo
jiyo 2015년 5월 11일
댓글: jassi singh 2018년 9월 28일
Given a vector x = 4.77e(-7).....-8.33e(-10) [ Around 5315 elements ]
The smf function needs an input x such that x=0:0.1:10
How to provide my vector in such an expression
x = 0:0.1:10; %%my vector needs to come here y = sigmf(x,[2 4]); plot(x,y) xlabel('sigmf, P=[2 4]') ylim([-0.05 1.05])
  댓글 수: 1
jassi singh
jassi singh 2018년 9월 28일
It is not necessary that x=0:0.1:10. it is a range on which we are taking values from the x-axis in a particular example. You don't need to convert your vector x in this range. x could be any number but the resultant function will give values in [0,1].

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by