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

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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= ...

mer än ett år 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 ...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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 ...

mer än ett år 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 ...

mer än ett år 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=[...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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],...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år ago | 0

| accepted

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

mer än ett år ago | 0

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

mer än ett år ago | 0

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

mer än ett år ago | 0

| accepted

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

mer än ett år ago | 0

Load more