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

alrededor de 1 año hace | 1

| aceptada

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 1

| aceptada

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 1

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 0

Respondida
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=[...

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 1

| aceptada

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

| aceptada

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

alrededor de 1 año hace | 0

Cargar más