# sai charan sampara

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**0** Questions

**73** Answers

RANK**1,661**

of 290,864

REPUTATION**36**

CONTRIBUTIONS

**0** Questions

**73** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**6**

RANK

of 19,719

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 145,451

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

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

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

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

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

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

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

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

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

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

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

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

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

24 days 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; ...

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

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

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

28 days ago | 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...

28 days ago | 0

| accepted

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

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

2 months ago | 0

파일을 찾을 수 없거나 권한이 거부되었습니다. 오류가 뜹니다.

Hello Yang, I understand that you are unable to read from a file due to permission related issues. The following actions could...

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

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

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

3 months ago | 0

Unable to run the highway lane change using Roadrunner Scenario

Hello Sayandip, I understand that you are getting an error saying, “Dot indexing is not supported for variable of this type” wh...

3 months ago | 0

I am trying to assign a new set of alphabets to a strand of alphabet matrix that I already have

Hello Lee, I understand that you are trying to replace every letter of the sequence by a specific letter based on the mapping g...

3 months ago | 0

Unable to write to BLE characteristic that has write permission

Hello Erik, I understand that you are trying to write to a characteristic using MATLAB. Writing to a characteristic is possible...

3 months ago | 0

Three level inverter PID controller tuning

Hello Yojan, I understand that you are trying to remove the high frequency ripple in the output by tuning the PI controller. F...

4 months ago | 0

Solver was unable to reduce the step size without violating the minimum step size value of 4.9717E-17 for 1 consecutive times at time 0.0139941.

Hello Luca, The warning “Solver was unable to reduce the step size without violating the minimum step size value” can be caused...

4 months ago | 0

Can MATLAB Play or Record 384 kHz Sampling Rate Audio Stream?

Hello Van, I understand that you are trying to play an audio with a sampling rate of 384kHz. MATLAB does support playing audio...

4 months ago | 0

Techniques of common subexpression elimination, disorganization in MATLAB, etc..

Hello Babak, Common Subexpression Elimination (CSE) is a property of a compiler that aims to identify and eliminate redundant c...

4 months ago | 0