Community Profile

photo

soloby


Active since 2015

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Need help with debugging
Hey all, below is my coding which does fuzzy operation (addition, subtraction, multiplication, division) My issue is that the...

ongeveer 7 jaar ago | 0 answers | 0

0

answers

Question


Generic fuzzy operations help
hi all if i had something like x = -10:0.1:10; f1 = trapmf(x, [-2 0 0 3]); f2 = trapmf(x, [1 3 3 4]); thi...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


index out of bounds error
Hey all, my code looks something like this. clear clc x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); f2 = trapmf(x,[1 3 3 5...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


min max of a list of vectors
I have 4 variables A B C D which are all a list of 20 random numbers A = <1x20 double> B = <1x20 double> C = <1x20 doubl...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


min and max of a vector
I have 4 variables A, B, C, D All 4 variables are a 1x20 vector containing random numbers What i want to get is the minimu...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


Worki ng with cells
hey all, i have a cell of &lt;1x20> dimensions and each cell contains two x-values in a coordinate. I want to work with th...

meer dan 7 jaar ago | 2 answers | 0

2

answers

Question


plotting 2 x points per y?
If i had an array of two x points like {x} = [-1.9 2], [-1.8, 1.8], [-1.5, 1.3] how can i plot these points for lets say y...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


saving values in a for loop
My code looks something like this x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); for k = 0.05:0.05:1 index = find(abs...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


finding x of y
x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); index = find(f1 ==.05); Xidx = x(index) Why would Xidx give me an empty matri...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


getting min and max for different y-values of a graph
x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); I need to find min(x),max(x) for 201 different f1 values since my f1 ranges ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


getting min & max of a function for different y's
If I were to have x = -10:0.1:10; y = 0:0.005:1; f1 = trapmf(x,[-2 0 0 2]) is there anyway I can get min(x) and max(x...

meer dan 7 jaar ago | 3 answers | 0

3

answers

Question


help me with this for loop please
x = -10:0.1:10; y = 0:0.005:1; minNmax1 = 0:.005:1; upper_1 = 0:.005:1; y2 = 0:.005:1; f1 = trapmf(x,[-2 0...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


Subscripted assignment dimension mismatch.
x = -10:0.1:10; lower_1 = zeros(numel(x), 2); upper_1 = zeros(numel(x), 2); f1 = trapmf(x,[-2 0 0 2]); [ss, firstmax...

meer dan 7 jaar ago | 2 answers | 0

2

answers

Question


splitting up a graph into 2 parts
I'm trying to divide my triangular wave f1 into 2 parts, left and right of the upper point x = -10:0.1:10; lower_1 =...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


for loop with vectors of different dimensions help
x = -10:0.1:10; y = 0:.005:1; f1 = trapmf(x,[-2 0 0 2]); f2 = trapmf(x,[3 6 6 9]); for i = 1:201 ...

meer dan 7 jaar ago | 2 answers | 0

2

answers

Question


working with iterations of y?
if i have a code of something like x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); f2 = trapmf(x,[3 6 6 9]); and I want to wo...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


Working with points of a plot?
Is there any way to work with multiple points of a plot? for example, if I had 2 points A= (-2, 3); B = (5, 3); c...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


built in function fuzairth question
x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); f2 = trapmf(x,[-1 2 2 5]); plot(x,fuzarith(x,f1,f2,'prod')); title(...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


Combining multiple vectors into 1
if I had 3 vectors x_lower = <1x100>; x_mid = <1x1>; x_upper = <1x100>; and I want to combine the 3 vectors into 1...

meer dan 7 jaar ago | 2 answers | 2

2

answers

Question


fuzzy operation help needed
I am working on creating a fuzzy operation coding without using the built-in matlab function. I believe I am very close to fi...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


making two different vectors the same length
x1_lower = &lt;1x100> vector x2_lower = &lt;1x110> vector Im trying to plot (x1_lower+ x2_lower, y) what's the best way...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


finding upper & lower limit
x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); if i plot(x,f1), this will give me a triangular wave. I need to seperate the...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


finding lower and upper limit of a function
x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); if i plot(x,f1), this will give me a triangular wave. I need to seperate t...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


for loop saving a vector, not a value
if i had x = -10:0.1:10; f1 = trapmf(x,[-2 0 0 2]); how do i save the (x, f1) values of each iterations using the fo...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


finverse function of trapmf
if i have a function x = -10:0.1:10; f1 = trapmf([-2 0 0 2]); how do I take the inverse of this using finverse function t...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


drawing a triangular wave
hey guys, what would be the best way to draw a triangular wave? I just need one triangular wave so my attempt was to draw the...

meer dan 7 jaar ago | 2 answers | 0

2

answers

Question


Fuzzy Operation (Add, subtract, multiply, and divide) without using the built-in matlab function?
I'm trying to do the fuzzy operations of 2 specific functions f1 and f2 where f1 = gaussmf(x, [2 2]); f2 = gaussmf(x, [3 6])...

meer dan 7 jaar ago | 2 answers | 0

2

answers

Question


Given a function and x limits of a function, how do I divide y-coordinates of a function in set increments?
for example, x = -20:0.4:20; f1 = gaussmf(x, [2 2]); I am working on fuzzy operations so I need to get the lower and uppe...

meer dan 7 jaar ago | 1 answer | 0

1

answer