已回答
How to assign pair of values to a single aeeay in the matrix using two different vectors
Hi Yogesh The following code might help you: fsine=50e6:0.4e9:3e9 Vp=0:0.5:3 M=zeros(7,8); for idx1=1:7 for idx2=1...

1 year 前 | 0

已回答
Como obtener la función de transferencia en controles
Hi Jose, You can use the "tf" function in MATLAB to obtain a transfer function of a system. This function returns a transfer fu...

1 year 前 | 0

| 已接受

已回答
How to change the spectrogram magnitude to linear?
Hello, The "spectrogram" function in MATLAB returns the Short-Time Fourier Transform(STFT) of the input signal. It is used to a...

1 year 前 | 0

已回答
Separate graph arrows for two y-axes on the matlab
Hello, You can try to acheive a similar result by using the "annotations" feature in MATLAB. The following code shows an exampl...

1 year 前 | 1

已回答
How do I mesh a matlab model
Hello There need not be inverted commas over the geometry type in the line where "femodel" is defined. I have increased the "Hm...

1 year 前 | 2

| 已接受

已回答
How to correct the recording of a daamaged accelerometer in earthquake analysis
Hello, A possible solution can be to remove the mean over a small interval from the existing data to change the data to be cent...

1 year 前 | 0

已回答
Calculation of channel capacity
Hello Zaref, The above code you provided appears to be correct for plotting the graph of channel capacity in SNR(dB) provided t...

1 year 前 | 0

已回答
Why does the "Matrix dimensions must agree" error persists?
Hello Walter, When using "plot" in the format of "plot(ax,x,y)" the size of the variable "x" and "y" must be same. In your case...

1 year 前 | 0

已回答
I want to count the number of 0s in a binary sequence which occurs for n number of times, where n=1:25.
Hello Dwijraj, You can use "find" to locate the positions of "1" in the array and then the difference in position of 2 consecut...

1 year 前 | 1

已回答
Cannot find this component in Simulink
Hello Axel, The block might be a "Repeating Sequence Stair" block with [1,0] as the "Vector of output values" in the Block Para...

1 year 前 | 0

已回答
how to get basis vector from eigenvalues
Hello, You can get the 2 basis vectors by simply sorting the eigen values in decreasing order and then usig the sorted indexes ...

1 year 前 | 0

已回答
how can i solve eps y''+ mu a(x) y'-b(x)y=f(x) with boundary condition y(0)=y(1)=0
Hello Dhayalan, The equations of the above form can be solved by using "diff" and "dsolve" functions in MATLAB. The "diff" func...

1 year 前 | 0

已回答
Matrix does not want to multiply and gives an error when I multiply a 3x3 matrix with a 3x1 matrix
Hello Gihahn, In line 2 "mat1" is not defined. If you want to have the inverse of "A" replace it with A. Also the size of "B" i...

1 year 前 | 0

已回答
Average of a repeating array
Hello, You can pad some zeros at the end to make the array size divisible by 100 and then use the "reshape" command to divide i...

1 year 前 | 0

已回答
Plotting a Multiple Category Single Line Graph
Hello Milan, The following code might help you: baseline = 985; y1 = [0,115,1085,969]; y2 = [1034,846,1037,959]; y3 = [1054...

1 year 前 | 0

| 已接受

已回答
How to plot four scatter diagram on a single page?
Hello, You can use the "tiledlayout" feature or "subplots" feature in MATLAB. It can be done as follows: x = linspace(0,30); ...

1 year 前 | 1

已回答
Determine data cells in Excel
Hello Erik, The following code might help you. I have used random data in the Excel file to verify the code. To get the timesta...

1 year 前 | 1

已回答
Time vs displacement plot of a Transfer function
Hello Hassan, The following code might help you: %% parameters R = 5e-6; zeta= 0.2308; iota= 1.3; rhom= 997; rhonu = 1....

1 year 前 | 0

| 已接受

已回答
Errors in turbulent image analysis.
Hello, The error in line 5 is probably because you are trying to access indices that are beyond the size of the image "I". You ...

1 year 前 | 1

已回答
Convert syms struct to numerical values
Hello, To solve the ode with initial condition as (x,y)=(1,1). You can do the following: syms x(t) y(t) ode1=diff(x)==2*x+y; ...

1 year 前 | 0

已回答
The parkingSpotPath.mat example isn't showing up.
Hi Andrei, If you want to open the example "Perception-Based Parking Spot Detection Using Unreal Engine Simulation", run the fo...

1 year 前 | 0

已回答
Simulink circuit calculations of current etc
Hi Garry, The red line indicates that the connection is not possible. This is because you are trying to connect two blocks that...

1 year 前 | 0

已回答
Find the variable inside the LCM argument
Hi ali, If the LCM (least common multiple) of 2 numbers is known and one of the number is known then the value of the second nu...

1 year 前 | 0

已回答
How can I plot graph with lines of different color each using for loop?
Hi Szu, Firstly there are some errors to be corrercted. The variable "i" needs to be intialized to zero every time the outer lo...

1 year 前 | 0

| 已接受

已回答
how can ı fixed
Hello Öner, I understand that you are trying to take variable "a" as input and then define variable "r" as an array with values...

1 year 前 | 0

已回答
use struct in loop for
Hello Najafi, I understand that you are trying to create a struct "s" with field names "A1", "A2”, ... "A30" each having value ...

1 year 前 | 0

已回答
파일을 찾을 수 없거나 권한이 거부되었습니다. 오류가 뜹니다.
Hello Yang, I understand that you are unable to read from a file due to permission related issues. The following actions could...

1 year 前 | 0

已回答
Find maxima in proximity
Hello Raphael, I understand you are trying to find the maximums in “st_Q_exert” around known indices of maximums in “st_T_exert...

1 year 前 | 0

已回答
error empty sym: 0-by-1
Hello Mattia, I understand that you are getting an “empty sym” when trying to solve a system of equations. For a system of equ...

1 year 前 | 0

已回答
How to build a bilinear model in simulink, using in the simscape model
Hello HUANG, I understand that you want to connect the output of a MATLAB function to a Simscape block. It can be done as foll...

1 year 前 | 0

加载更多