# madhan ravi

Communication through MATLAB is always better than arguing.

**Professional Interests:**

**Statistics**

RANK**19**

of 273,012

REPUTATION**12,017**

CONTRIBUTIONS

**54** Questions

**4,538** Answers

ANSWER ACCEPTANCE **
62.96%
**

VOTES RECEIVED**1,402**

RANK**15,698** of 18,442

REPUTATION**5**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **4**

ALL TIME DOWNLOADS**53**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Constant block doesn't accept array

Not sure why the constant block doesn;t give the output as array. Is there any to make it possible?

5 months ago | 3 answers | 0

### 3

answersQuestion

Why does the output of audioread() gives samples less than shown in audioinfo() ?

for some reason there is no problem in mac but in windows

12 months ago | 1 answer | 0

### 1

answerConvert time vector of Year, Month, Day, Hours, Minute to Decimal format

doc ymd doc hms

1 year ago | 0

How to find first instance of a value in array?

help find % read the third explanation

1 year ago | 0

How to average certain columns in a matrix

T = array2table(rand(2, 3)) T = [T(:, 1), array2table(mean(T{:, 2 : end}, 2), 'V', {'AVERAGE'})] % where Var1 is the time data

1 year ago | 0

How to average certain columns in a matrix

matrix = rand(107, 16); Matrix = [matrix(:, 1), mean(matrix(:, 2 : end), 2)]; size(Matrix)

1 year ago | 0

| accepted

How can I make this work, I don't know where i went wrong.

1 / (1 + cos(4*x)) %is not the same as 1 / 1 + cos(4*x) % likewise for last question

1 year ago | 0

| accepted

can anyone help me to solve these error

function [y] = specvol(V) % change capital V to v

1 year ago | 1

| accepted

SIMPLE MATH ERROR CALCULATION

Click on the tag floating-point round((9.2^2 * 1e2) / 1e2, 3) % since you're using a hardware , not sure using a sym class woul...

1 year ago | 0

convert data from two 3D arrays into three 2D arrays

https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval A = rand(2,...

1 year ago | 0

This is my attempt to generate and plot this signal .. which one of these is right? .. please help

A = 3; [B, C] = deal(4); u = @(t) t >= 3 + 0.5 * A; u1 = @(t) t >= 3 - 0.5 * A; u2 = @(t) t >= C + 0.5 * B; u3 = @(t) t >= ...

1 year ago | 1

| accepted

Saving a Matrix as an Image and then extracting same matrix from Image.

SMAG = im2double(b) %

1 year ago | 0

| accepted

How to find the mean of 12 different 3-D arrays containing nan so that I can omitnan in the final calculations?

Use mean() with "Omitnan" flag help mean

1 year ago | 0

| accepted

連続時間系のサンプリングと離散フーリエ変換

https://www.mathworks.com/help/matlab/ref/fft.html a good starting point

1 year ago | 0

theory parts from the documentation -usage

The volunteers here are there to contribute to questions related to coding. For legal questions you would be better off to conta...

1 year ago | 0

Question

Is there a way to viewmark as images?

Any possible way to extract viewmarks from Simulink as images?

1 year ago | 1 answer | 0

### 1

answerData Plotting in a Single Figure

U = setdiff(10 : 10: 100, 80 : 10 : 90); V = 1e2 : 50 : 450; X = sort(randi(400, size(U))); Y = sort(randi(98, size(U))) .*...

2 years ago | 0

| accepted

how to sum a result with multiple values

You literally answered your own question, just use sum() help sum

2 years ago | 1

| accepted

Save a double array to a text file

https://www.mathworks.com/matlabcentral/answers/4175-how-to-save-a-matrix-as-text-file#answer_5892

2 years ago | 0

Can't solve for x with (a = y/x)

syms y a x eqn = a == y/x; s = solve(eqn, x)

2 years ago | 0

removing rows from a timetable

load combined_observed_vs_sim_timetable combined_data(1 : 12, :) = [ ]

2 years ago | 0

Array indices must be positive integers or logical values.

ii = 0.01:0.02:0.99; w1_temp= ii; w2_temp= 1-ii; Rp_temp= w1_temp*mean(R_2(:,1))+w2_temp*mean(R_2(:,2)); ...

2 years ago | 0