Answered
How i can measure magnitude and phase angle of a given waveform? or how i can measure phase difference of two sinusoidal waveforms? please help me
See: Signal Fitting with sine curve (and how to find out the phase shift?) for one approach to this problem.

2 months ago | 0

| accepted

Answered
Issues creating a scatter graph
Use curly braces {} to access data in a table -- Depth= A{:,4}; Magnitude= A{:,5}; That also avoids using the table2array ca...

2 months ago | 0

Answered
Trying to figure out a algorithm to filter out some data, since I dont have any additional toolbox.
The filloutliers function is a core MATLAB function (no toolboxes required) introduced in R2017a. Using it on your data -- ...

2 months ago | 0

| accepted

Answered
I know line 4 goes wrong,but I don't know how to correct it. If anyone know it,I firmly hope to get your advice.
Your code looks correct to me. You set the initial condition to be 'y(0)==2' and that is what dsolve returned: From the plot,...

2 months ago | 0

Answered
Plot serial time data from excel file
Your data does not look like the data in the image file. I made some changes (additions) to your code to plot only the 't' an...

2 months ago | 0

| accepted

Answered
How to I plot a graph from this data
Use curly braces {} to get datafrom a table -- Radius = A{:,1}; Density= A{:,2}; VPV= A{:,3}; VSV= A{:,4}; QK= A{:,5}; QM...

2 months ago | 1

| accepted

Answered
Read Excel file in Matlab and plot data
Use curly braces {} to access data in a table. data = readtable('HUAM1709.041_v2.xlsx') % return T = data{:,1}; T = second...

2 months ago | 0

| accepted

Answered
MATLAB 2025a new fonts. How do I use them.
I do not have that font in Ubuntu 24.04, MATLAB R2025b. You can select whatever font you like in the various MATLAB settings ...

2 months ago | 0

Answered
Extracting data from .txt file
Without having a .tb file to work with, and your description of it as a text file, I would use the readtable function with the F...

2 months ago | 0

| accepted

Answered
matlab liscence issue in linux
See: Fedora 42 - Unable to launch MVM server: License Error: Licensing shutdown for one solution.

2 months ago | 0

Answered
Files deleted on MATLAB Online and now on my local drive
Contact Support There is always a possibility that they are not actually lost from MATLAB Online, and can be recovered. (I h...

3 months ago | 0

Answered
How to extract data from a figure as a text file
You have all the information available already in (x1,y1) and (x2,y2) and the findpeaks output. That is apparently all the in...

3 months ago | 1

Answered
How to compare two measurement datas from 2 different devices?
It would help to have the data, or at least a representative sample of it. Without knowing more, I would create a grid over t...

3 months ago | 1

Answered
i am not getting the output graph
What operating system are you using? What MATLAB version/release are you using? I had a problem similar to this with Ubunt...

3 months ago | 0

Answered
asking for buying laptop for matlab
For the essential requirements,see Choosing a Computer to Run MATLAB and Simulink Products. I encourage you to explore that ent...

3 months ago | 1

Answered
reduce mesh quantity in isosurface plot
We have a problem ... I used a script I wrote earlier to extract the text from your .m file to run here. I post all of it he...

3 months ago | 0

Answered
Fitting 8 equations simultaneously with three parameters
You might be able to use the mldivide, \ function -- Example -- % Eq. 1: 2A+3B+5C-1=0 % Eq. 2: -5A+2B-10C+12=0 % Eq. 3: 9A...

3 months ago | 3

Answered
Force arrays to print to screen without multiplier
Experiment with the format function. Example -- vProduct = 1.0e+03 *[0.0048 0.0076 3.1440 -0.004...

3 months ago | 0

Answered
MATLAB won't invert a function in the Laplace domain...
After running your code (with n=1.1), it seems that the problem is that using a non-integer value for 'n' produces non-integer e...

3 months ago | 1

Answered
Why doesn't matlab start?
According to the System Requirements, that should probably work. (Note the 'version 22H2' requirement for Windows 10.) Sinc...

3 months ago | 0

Answered
apply colour bar colours to data points
The third and fourth arguments of scatter can control the size and colours of the plotted points. It is also necessary to defin...

3 months ago | 0

Answered
Time to peak using findpeaks
I usually have findpeaks return the indices of the peaks. Your definition of the start time point isnot obvious. I would use...

3 months ago | 1

| accepted

Answered
Discrepancy when plotting step response of two identical transfer functions.
We do not have the original data. I suspect that you are seeing the loss of precision due to using only 4 significant digits ...

3 months ago | 0

| accepted

Answered
tiledlayout("vertical") with multiple columns
I am not certain that tiledlayout can easily do what you want. It might be easier to use subplot instead. That way, you can ...

3 months ago | 0

Answered
Mean of 3D matrix based on range of first dimension
Perhaps something like this -- A = randn(360,360,720); At = A(100:200,:,:); Atm = mean(At, 1); AtmSize = size(Atm) ...

3 months ago | 0

| accepted

Answered
How to add two columns based on conditions
It is easiest to use 'logical indexing' for this. Try this -- intrun = [1 0 1 4; 2 0 1 5; 1 ...

3 months ago | 0

| accepted

Answered
Compare two row and select appropriate data
I believe you want the minimum of the two columns. Try this -- Data = array2table(randi(9, 10, 2), VariableNames=["A","B"])...

3 months ago | 0

Answered
Is Helvetica available on every MATLAB platform?
On my Ubuntu 24.04 installation (latest updates), using yur example code, 'Helvetica' is the 12th entry in 'k'. Proportional ...

3 months ago | 0

| accepted

Answered
Scatter point plot into plot3d or any surface
It would help to have your data. It might not be necessary to do any interpolation if you only want to use those vectors. Ju...

3 months ago | 1

Answered
I have a code but am unable to use if conditions with matrix value
I cannot understand what you want help with. If you want to avoid using values that equal 0, one way is to use 'logical index...

3 months ago | 0

Load more