# sai charan sampara

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**0** Questions

**87** Answers

RANK**1,049**

of 294,359

REPUTATION**66**

CONTRIBUTIONS

**0** Questions

**87** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**9**

RANK

of 20,108

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 151,512

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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

2 months ago | 0

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

3 months ago | 0

| accepted

为什么这段数模代码反复调试后仍然出错？

Hello, In the first code in the line "f=-d2f+df" the variables "-d2f" and "df" are symbolic expressions so the variable "f" th...

3 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 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...

3 months ago | 0

| accepted

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

4 months ago | 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...

4 months ago | 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...

4 months ago | 2

| accepted

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

4 months ago | 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...

4 months ago | 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...

5 months ago | 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...

5 months ago | 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...

5 months ago | 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 ...

5 months ago | 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...

5 months ago | 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...

5 months ago | 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...

5 months ago | 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...

5 months ago | 0

| accepted

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

5 months ago | 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...

5 months ago | 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....

5 months ago | 0

| accepted

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

5 months ago | 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; ...

5 months ago | 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...

5 months ago | 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...

5 months ago | 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...

5 months ago | 0