Answered
Printing out all Row Operations for Reduced Row Echelon Form and Elementary Matrices
Hi Teoman, Your code written was slightly modified by me to avoid the indexing error, while coding in MATLAB, you should keep i...

2 years ago | 0

| accepted

Answered
how to select the parts/objects in an image
Hi Aiman Zara, If you are trying to segment an image then you can do the following img=imread('peppers.png'); imageSegmente...

2 years ago | 0

Answered
how can i find only row echelon form of a matrix? not reduced..is there any built in function?
Hi Md Refat, You might find the following link on File Exchange useful https://in.mathworks.com/matlabcentral/fileexchange/18...

2 years ago | 0

Answered
How to rearrange a row vector into a pair wise column vector?
Hi marianne, See if the following code snippet can help you v = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21]; v2...

2 years ago | 0

Answered
Why is my plot not showing for improved Euler method?
Hi Anthony Aquino, You are updating the time t and y values, they are of size 1x1 so the final plot will only show you a point,...

2 years ago | 1

| accepted

Answered
how to connect lines instead of discountinuity
Hi yasmin ismail, You can try to open the image using a different structural element and see if that works, maybe try SE = s...

2 years ago | 0

Answered
Need to find the digit of this image
Hi Abdur Rob, You can try the following code snippet for detecting digits in image img = imread('mm.jpeg'); % your image pat...

2 years ago | 0

Answered
z domain to delay difference equations and applying pid controller
Hi kruthika u, 1.) convert z domain transfer function to time delay equations suppose you have the following Z transform s...

2 years ago | 0

| accepted

Answered
Finding indices of certain numbers from simulation data
Hi Abhinav Aravind, Suppose your logged data is x in workspace then to find index of a certain number in that you can do the f...

2 years ago | 0

Answered
Linear contrast stretch to image?
Hi Macy, You are trying to perform linear contrast stretch to an image, so basically you are trying to map your intensities [xm...

2 years ago | 0

Answered
How to sharpen an image? Sharpening filter kernel.
Hi Macy, You can make the sharpening filter as follows sharp_image = deatiled_image + original_image, the mask for detailed...

2 years ago | 0

| accepted

Answered
How to plot the response of a closed loop system to a reference signal?
Hi Thomas, I hope the following code snippet helps % construct transfer function using tf g = tf(10*[1 4],[1 4 5 0]); k= ...

2 years ago | 1

| accepted

Answered
Seeking how to use the radar toolbox
Hello John Figueroa, You might find the resources in the following video useful Radar System Design and Analysis with MATLAB ...

2 years ago | 0

Answered
Name in Workspace is hidden
Hi Georgios, when you right click on the workspace, you can see the menu from where you can enable the name setting I hope...

2 years ago | 1

Answered
Wrong resonant frequency in RLC series circuit analysis
Hi Runze Zhang, You have given the numerator and denominator polynomials in wrong order to the tf function, the tf function ta...

2 years ago | 0

Answered
I want to know how to handle simulink graph (I'm newbee about simulink)
Hi 장훈 정, You need to modify the solver settings under configuration parameters. To access configuration parameters, Go to th...

2 years ago | 0

Answered
Problem downloading MATLAB for students
Hi , You might visit this MATLAB Answer to get help on your issue, one suggestion is to disable your antivirus software. http...

2 years ago | 0

Answered
Calculating correlations across multiple time series
Hi Jlil, If you are trying to compute the correlation between columns of a matrix or between columns of two different matrices ...

2 years ago | 0

| accepted

Answered
hwo to copy file
Hi Yusra Malik, If you are trying to copy all files inside trialfiles folder to folder named output then it is done as follows ...

2 years ago | 0

Answered
Plot the amplitude and phase response for the given FIR system.
Hi Abod, To plot the frequency response of FIR system use the following code b=[1 -2 4]; % define numerator coefficient a=[...

2 years ago | 0

Answered
I need help plotting points with * symbol at intervals equal to Ts = 1/fs = 1/7s (Here is my code)?
Hi Michael, Does the following code help ? t=0:0.001:1 ; f=5; x=sin(2*pi*f*t); plot(t,x,'Color',[1 0 0 ],'LineWidth',2); g...

2 years ago | 1

| accepted

Answered
plot3 a multidimensional array
Hi Leila Rajabpour, part 1) As an example for matrix V, I am using rand function to generate data, here is code to plot your t...

2 years ago | 0

| accepted

Answered
Stop MATLAB from print ans, and just display z
Hi Alice Kukuruzovic, When you make a call to Company then the disp function will execute and it will also return a value Z, if...

2 years ago | 0

| accepted

Answered
How do I find the centre of an image?
Hi Kantachai Chamnarnkit, the following code snippet might help you. Assuming the image in binary in nature i = imread('image...

2 years ago | 0

Answered
Fill light gray color between two horizontal lines in a plot?
Hi , You can add the following extra line to your code rectangle("Position",[1 2 10 2],"FaceColor",[150/255 150/255 150/255],...

2 years ago | 0

Answered
How to load multiple .mat files which are having subfile in .mat format using the loop?
Hi Rajeev Kumar, As per my understanding you are trying to import a MAT file which has multiple data inside it, you can use th...

2 years ago | 0

Answered
How to extract data from different strata?
Hi Rahul Verma, I understand that you want data grouped by same Strata number in your spreadsheet, here is my attempt T = rea...

2 years ago | 0

| accepted

Answered
How do I separate connected objects on a binary image?
Hi Katarina Djurovic, Here is my attempt at doing the separation of black blobs and calculating their surface area, I have used...

2 years ago | 0

| accepted

Answered
How to add two functions and display the sum?
Hi Saumya, You can try the symbolic math to solve your issue syms x f = x*x + x ; g = 3*x*x + 5*x ; z = f + g x = 3; s...

2 years ago | 0

Answered
Animate a line in polar coordinates
Hi ロン, You are trying to animate the Lemniscate of Bernoulli, here is an example in rectangular co-ordinate system clear clc...

2 years ago | 0

| accepted

Load more