Top 5% contributor
u=[zeros(1,m-1) rand(1,1000)] ;
while (tmp<=(length(u) - (m-1)))
for i = 1:...
Asked 12 months ago
Asked 1 year ago
more than matlab help.
what it does?
why it required?
how it works?
and other aspects you know.
and also ...
how to add image to my question
i require a certain type of graph.
but not able to show u in the question.
Asked 2 years ago
i have tried 1D membership function and plot it.
like trapezoidal, gaussian, bell etc. these are one dimensional.
I want to write a program so that after running it give desired output of some algorithm and display result in command window. a...
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
1 year ago
Given a and b, return the sum a+b in c.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
Regardless of input, output the string 'yes'.
2 years ago
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Calculate the nth Fibonacci number.
Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ...
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1.
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Given the input n, return true if n is odd or false if n is even.
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
i have 3 input like x1, x2, x3.
and input sinal as
where r[k]=input k=1,2,3,4....k
f(0),f(1),....f(k-1) are coefficients
I want a vector like
%type1 network fuzzy
i have to generate Membership Function of type-2 fuzzy logic which handle uncertainty.
there is a toolbox but how to generate...
Join the conversation