photo

sai charan sampara


Last seen: 2 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 3
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Rename TIF files in a folder
Hello Tomer, You can extract the file names using "dir" function. Then by looping through each file use regex expressions to ge...

4 months ago | 0

Answered
How can I write a script to replace a specific integer value in my table, with the average of the data above and below that integer in the table
Hello JJ, You can use logical indexing to find all the index values containing the value "999". You can replace these values wi...

4 months ago | 0

| accepted

Answered
为什么这段数模代码反复调试后仍然出错?
Hello, In the first code in the line "f=-d2f+df" the variables "-d2f" and "df" are symbolic expressions so the variable "f" th...

4 months ago | 0

Answered
Integration over different sampling rates
Hello Kyle, You can get the correct value for the area by giving the time vector also to the "trapz" function. It gives the int...

4 months ago | 0

| accepted

Answered
Finding Coefficients in Bspline is making a problem ?
Hello Rohitasya, The code you have written is accuarte for calculating the coeffecients.The following code achieves the same re...

4 months ago | 0

Answered
correct for these codes and help me to get running codes
Hello, I made the following changes to the code to make the array sizes compatible. rxSignal = awgn(H * txSymbols', SNR_dB, 'm...

4 months ago | 0

Answered
setting up infinite sequence and plotting
Hello Robert, I am assuming that you want to sum 1/(n^3+1) and not n^3+1 since the sum for n^3+1 tends to infinity as n moves t...

5 months ago | 0

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

5 months ago | 0

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

5 months ago | 0

| accepted

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

5 months ago | 0

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

5 months ago | 1

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

5 months ago | 2

| accepted

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

5 months ago | 0

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

5 months ago | 0

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

7 months ago | 0

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

7 months ago | 1

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

| accepted

Answered
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); ...

7 months ago | 1

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

7 months ago | 1

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

7 months ago | 0

| accepted

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

7 months ago | 1

Answered
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; ...

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

Load more