已回答
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,...

1 year 前 | 1

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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= ...

1 year 前 | 1

| 已接受

已回答
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 前 | 0

已回答
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 前 | 1

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 1

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
Convert Mat files to csv files
Hi Harish M Y , As per my understanding you are trying to write the mat files into excel files with name same as that of mat f...

2 years 前 | 0

已回答
How to plot the graph for a given signal over a range of frequency
Hi Saumya, I am assuming you are trying to visualize different frequency discrete cosine waves, following is the code snippet t...

2 years 前 | 0

已回答
Is there any separate activation procedure for MATLAB online?
Hi Masha, You just need a MathWorks account to start using MATLAB Online, more information on that is given in the following do...

2 years 前 | 0

| 已接受

已回答
Find the (x,y) coordinate of a "white" pixel (from calculated matrix)
Hi Alberto Acri, As per my understanding you are trying to extract pixels x,y co-ordinates which are on the boundary, you can d...

2 years 前 | 0

加载更多