Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

3 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

3 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

3 years ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

3 years ago

Answered
Simulink support package for arduino
Hey Maniruz, Check out this MATLAB answer https://in.mathworks.com/matlabcentral/answers/735262-arduino-test-connection-build...

3 years ago | 0

Answered
Building times series forecasting using MLP
Hi Wissal, Time series forecasting can be conducted with a feedforward network in MATLAB. Two cases can arise for time series...

3 years ago | 2

Answered
NARX Closed Loop Network for one step prediction
Hey Pablo, I think you need 6 previous values as input and for that the network predicts the 7th value. Also same goes for the...

3 years ago | 0

Answered
help me with a canny edge detector.
Hi Anu, To improve the performance of canny edge detector, follow this link https://in.mathworks.com/matlabcentral/answers/160...

3 years ago | 0

Answered
All possible path between two points
Hi Prince, Looks like you are trying to solve a graph problem. To find all possible path between two nodes there are certain a...

3 years ago | 0

| accepted

Answered
How to input 2 dimensional x and y in newrbe?
Hey Ashley, Look at this Example Here you design a radial basis network given inputs P and targets T. P = [1 2 3]; T = [2.0 ...

3 years ago | 0

Answered
implementing soft voting in matlab
Hi Nagwa, Check out this demonstration of the Soft Voting Algorithm Soft Voting Algorithm Demonstration - File Exchange - MATL...

3 years ago | 0

Answered
Automatic highlighting with split screen
Hi Matthew, I tried to reproduce it at my end and the automatic variable highlighting was working fine for the version 2022a. ...

3 years ago | 0

Answered
How could i run the loop?
Hey Rameswari, You are facing the issue in this line. q(i)=sqrt(((H+c0.*w1.*the2+b(i)).*w0.*the2)./(s.*alpha0.*del.*(1-rho(i))...

3 years ago | 0

Answered
Finding difficult to define the domain
Hey Sasikala, Check the following documentation links to get a better idea of how domain works: specify domain of a function -...

3 years ago | 0

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

3 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

3 years ago