Answered
plot running time complexity
Hi Sumera Zem, You can try with the following code snippet syms n % define a symbolic variable figure ; legend on; % high...

1 year ago | 2

Answered
Phase retrieval from FFT
Hi Shrishti Yadav, As i understand you are failing to understand the output phase associated with sinusoid of frequency 4000 H...

1 year ago | 0

Answered
How can I plot this graph in MATLAB?
Hi @Itqan Ismail, Assuming that you want to plot the equations visible in the graph, following lines of code does exactly what...

1 year ago | 0

Answered
Want to know how to modify the pole zero plot
Hi Krishnapriya, I understand that you are trying to modify the plot, you can do this using the following steps. 1.) In the f...

1 year ago | 1

| accepted

Answered
Plotting periodgram/pwelch/other PSD function for mock data
Hi Benjamin Colbert, As per my understanding you only expect the PSD plot at 60 Hz and not around it but in the plot you are ge...

1 year ago | 1

Answered
whati's solution for signal filtering ?
Hi Guendouz walid, I have made the assumption that the data around time 100 and 350 is error data that you would like to get ri...

1 year ago | 0

Answered
How can I randomly excuted for loops inside MAIN FOR LOOP instead of run them in ordered ?
Hi omar th, I have borrowed a part of answer from Jiri Hajek, you can acheive the random execution of loop using following lin...

1 year ago | 0

Answered
Dimensions of arrays being concatenated are not consistent.
Hi Prapthi, The command prompt is throwing error, make sure that detout array or function is defined in your workspace or the ...

1 year ago | 0

Answered
how to reduce edge thickness
Hi mole20 , Following are the steps to reduce the thickness in the edge image, such operations are called morphological image ...

1 year ago | 0

Answered
Edge detection with edge function in matlab
Hi Putra A, You cannot use maskX = [5 5 5 ; -3 0 -3; -3 -3 -3]; maskY = [5 5 5 ; -3 0 -3 ; -3 -3 -3] ; as your masks, here are ...

1 year ago | 0

Answered
How Sobel Operator works in edge function?
Hi C J , The sobel operator is used in Image processing edge detection, it works in the following manner 1.) Compute gradient...

1 year ago | 0

| accepted

Answered
How to get clear Edge detection following image? I have attached image which i want edge detect ? also i worked CANNY operator ,this operator not perfect , so Can any One Help me?
Hi Selva Karna, The canny edge detector works on 2D images and not 3D images, you will have to convert the JPEG image to graysc...

1 year ago | 0

Answered
Which is the best method for edge detection in this image
Hi Efstathios Kontolatis, You can run a gaussian kernel first on the image followed by canny edge detector to see if that achi...

1 year ago | 0

Answered
connecting a simscape block with a simulation block
Hello, You can connect the Simulink blocks to Simscape using the Simulink “PS Simulink-Converter” block. The following docume...

1 year ago | 0

Answered
Changing PWM frequency of Arduino board in a .m script
Hello Matthew, As per my understanding you are trying to change to PWM frequency on the Arduino Uno board and looking for a M...

1 year ago | 0

| accepted

Answered
For Matlab arduino board is not connecting with Matlab(yes I installed the add on, and yes I installed Arudino IDE to check what make Arudino port name is)
I suspect that the Arduino object is not getting created because you are not supplying the correct COM port number while creatin...

1 year ago | 0

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...

2 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...

2 years ago

Solved


Return area of square
Side of square=input=a Area=output=b

2 years ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2 years ago

Solved


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

2 years ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2 years ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

2 years ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

2 years ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

2 years ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

2 years ago

Solved


Find max
Find the maximum value of a given vector or matrix.

2 years ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

2 years ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

2 years ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

2 years ago

Load more