photo

ag


Last seen: 9 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
optimization for minimum difference between 2 graphs
Hi Kinda, To find the optimal values of ( a ) and ( b ) such that the normalized version of graph 1 (i.e., graph1 * a + b) mini...

9 days ago | 0

Answered
tree decision method, how to generate the graph? and what coding is missing? how to solve the errors?
Hi Naga, The error message implies that the variable "Class" hasn't been initialized before being used in the lines after 98. ...

10 days ago | 0

Answered
Script Converting txt to CSV
Hi Patrick, To convert the text file to csv, you can use the "fgetl" MATLAB function to read and process each line. Below is a...

10 days ago | 0

Answered
Spectral analysis graph plot
Hi Max, To plot the spectral analysis of your signal in MATLAB, you can use the Fast Fourier Transform (FFT) to convert the tim...

10 days ago | 0

Answered
Continous updating graph using App Designerr
Hi Gavin, To dynamically update a graph when values change in the App Designer, you can employ the "callback" function. A callb...

10 days ago | 0

Answered
How to turn a function with a for loop into a recursive function
Hi Lee, To convert your iterative function into a recursive one, you need to redefine the problem in terms of smaller subproble...

11 days ago | 0

Answered
convert signals to spectrogram
Hi de, To convert signals to spectrogram images and save them as JPG files, adjust your MATLAB script to handle file paths and ...

11 days ago | 0

Answered
How to receive UDP packet
Hi Sungcul, To establish UDP communication in MATLAB, kindly ensure that the IP addresses and ports are correctly configured, w...

11 days ago | 0

Answered
how to extract graph from cftool?
Hi @Hee Cheol Lee, To export the generated fit to the workspace, kindly follow the below steps: Select a fit and save it to th...

11 days ago | 0

Answered
Finding non isolated graph bridges
Hi @Lukas Marcinkevicius, To find the non isolated graph bridges aka Articulation points in a graph, you can utilize the "bicon...

11 days ago | 0

Answered
How can name labels in the Graph (4)
Hi @Ana Soph, To label each curve with its corresponding year in your MATLAB plot, you can use the text function to place annot...

13 days ago | 0

Answered
plotting few values continuously in real time
Hi @Mamudi, To plot GPS data in real-time, similar to an ECG graph, you can utilize MATLAB's animatedline function within a loo...

13 days ago | 0

Answered
How to print multiple graphs/figures in a for loop
Hi @MaryJo Whelan, The issue you are experiencing arises because the same figure handle is being used repeatedly to display the...

13 days ago | 0

Answered
How I can plot surface countour plot and velocity plot on same garph using MATLAB
Hi Sharad, This can be achieved by using the "hold" feature of MATLAB. The below code demonstrates how to do the same: % Gener...

18 days ago | 0

Answered
plot graph with cylinder
Hi @Gaetano Pavone, Yes it is possible to plot 3d graph by using cylinders. To do so you may utilize the "cylinder" MATLAB func...

18 days ago | 1

Answered
Simulink algebraic loop Error
Hi Iqra, Algebraic loops occur when an input port with direct feedthrough is driven by the output of the same block, either dir...

18 days ago | 0

Answered
Why is the loop infinite?
Hi Jacob, I understand that you are facing an infinite loop issue in the above provided code. Below are my observations on the ...

18 days ago | 0

Answered
Simulink cannot solve the algebraic loop containing .......
Hi @AbdelRahman Elkattan, I understand that you are facing an error with your model regarding Algebraic loop. Algebraic loops ...

18 days ago | 0

Answered
Error:SIMULINK CANNOT SOLVE ALGEBRAIC LOOP
Hi @Heema, Algebraic loops occur when an input port with direct feedthrough is driven by the output of the same block, either d...

18 days ago | 0

Answered
problem with unit delay
Hi @Maedeh Mohammadi, Algebraic loops occur when an input port with direct feedthrough is driven by the output of the same bloc...

18 days ago | 0

Answered
Error plot is starting at the wrong value in my "while loop"
Hi @Caleb Hedin, The issue you're encountering with the calculation of "epsilon1" arises from the order of operations within yo...

18 days ago | 0

Answered
How to get the exact lat lon position of nc file data
Hi @Karthik M, To extract the exact x and y coordinates of pixels that fall within specific value ranges in a matrix, you can m...

18 days ago | 0

Answered
how to calculate interference?
Hi @ankanna, To calculate interference in a network graph using the formula ( interference = r_i^m ), where "r_i" is a given in...

19 days ago | 0

Answered
how to write xlswrite command in a loop such that after every loop, the row increments.
Hi Usama, To write the output to an Excel file, appending it to the next available row, you can utilize the "writematrix" funct...

2 months ago | 0

Answered
how to write data in different columns in same sheet ?
Hi Ajay, To write a program that outputs daily data for a month into different columns of the same sheet, you can use MATLAB an...

2 months ago | 0

Answered
Proportional Control Design MATLAB
Hi Somadina, I recommend exploring the "PR Controller" model available on MATLAB Central File Exchange: PR Controller - https:/...

2 months ago | 0

Answered
proportional resonant controller transfer function code with variables
Hi Premchand, Below is a MATLAB code snippet that defines the transfer function of a PR controller using symbolic variables: %...

2 months ago | 0

Answered
How to calculate variance, kurtosis, and skewness of a ROI (Region of Interest) in grayscale image?
Hi Yogi, To calculate the statistical measures such as mean, standard deviation, variance, kurtosis, and skewness for a region ...

2 months ago | 0

Answered
Looping for a specified number of iteration
Hi Siti, To incorporate the described logic, you can modify the code as shown below: % Initialize the iteration counter iter ...

2 months ago | 0

Answered
How to save Variable in workspace from real time simulation with timestamps
Hi Siyaram, I understand that you want to store the simulation output in the MATLAB workspace with timestamps. To achieve this...

2 months ago | 0

Load more