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

10ヶ月 前 | 0

回答済み
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...

10ヶ月 前 | 0

| 採用済み

回答済み
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...

10ヶ月 前 | 1

| 採用済み

回答済み
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...

10ヶ月 前 | 0

| 採用済み

回答済み
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 ...

10ヶ月 前 | 0

回答済み
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...

10ヶ月 前 | 0

| 採用済み

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

10ヶ月 前 | 0

回答済み
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...

10ヶ月 前 | 0

回答済み
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...

10ヶ月 前 | 1

回答済み
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...

10ヶ月 前 | 1

回答済み
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...

10ヶ月 前 | 0

回答済み
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...

10ヶ月 前 | 1

回答済み
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...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 3

回答済み
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...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 1

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

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 0

回答済み
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...

11ヶ月 前 | 1

| 採用済み

回答済み
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 ...

11ヶ月 前 | 0

| 採用済み

回答済み
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 ...

11ヶ月 前 | 0

回答済み
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) ...

11ヶ月 前 | 0

| 採用済み

回答済み
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 ...

11ヶ月 前 | 0

| 採用済み

回答済み
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"])...

11ヶ月 前 | 0

回答済み
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 ...

11ヶ月 前 | 0

| 採用済み

回答済み
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...

11ヶ月 前 | 1

回答済み
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...

11ヶ月 前 | 0

回答済み
Extracting Respiratory Cycle Duration from RPM Waveform Stored in DICOM Files
Part of the problem is that your instrument is 'saturating', such that the amplitude of the signal exceeds the ability of the in...

11ヶ月 前 | 0

| 採用済み

回答済み
how to know the version of simulink ?
Execute the ver command. ver .

11ヶ月 前 | 0

回答済み
How to correctly find the solution of a system of equations containing trigonometric functions
It would be difficult to plot this since there are so many variables, and it is not obvious (to me, at least) what 1 or 2 variab...

11ヶ月 前 | 0

さらに読み込む