# Raghunandan V

**Statistics**

RANK**850**

of 265,156

REPUTATION**68**

CONTRIBUTIONS

**2** Questions

**57** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**8**

RANK

of 18,112

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Euler's Method

Hi, Simple code error. Check this line y(i+1) = y(i) + h *((sin(x(i)) * ( 1 - y(i)))) ; %Euler's Method

3 years ago | 0

HELP! I need to plot my values from if statement, and cant figure out how

Hi, Just a small correction in the code if H < 1.5 %Pressure drop is less than 1.5 psi D = (Qc.^0.381)/(19.17*(H...

3 years ago | 0

calculating minimum distance in a circular manner

Hi, Here is a solution X = [1 2 3]; Y = [2 3 4]; dist = zeros(length(Y),1); for a = 1: length(Y) %eucliedian distance ...

3 years ago | 0

matlab function simulink parameters

Hi, You can name the same name in the constant block with the same name as that of workspace. For example: If you have a cons...

3 years ago | 0

Find 3 values equal and consecutive in the row of a matrix.

Hi Pedro, Try to this lib by Jos https://in.mathworks.com/matlabcentral/fileexchange/56131-runindex You can use this to solve...

3 years ago | 0

Building the Matrix from the two matrices

Hi, Please check the answer LA = [ 0 77 0 0; 77 0 15 0; 0 15 ...

3 years ago | 0

| accepted

Plotting continuous wavelet in 3D

Hi, I dont know about cwt command. My idea would be to store the values obtained from cwt command in to 2 variables and then us...

3 years ago | 0

I need to remove artifacts (dust or other debris) from other images taken by the same microscope.

Hi, This is an interesting question. Can you try using edge detection filters and then send it through CNN?.

3 years ago | 0

Data Type Propagation block doesn't work with Boolean data type

Hi, The error says "The 3rd input for Data Type Propogation block has to be uint8 but you are feeding it Boolean" Please post t...

3 years ago | 0

Mask for S-function

Hi, The easier thing would be to have if else statement in the C-code and whose condtions are dependent on a input

3 years ago | 0

How to adjust the value of something using if-else logic in Simulink

Hi, Try using switch block from simulink library

3 years ago | 0

How can i make the simulink block to show a float window, which contains the parameter configuaration of the block, when i put my mouse on the block?

Hi, I guess you can just simulink to show output signal variable type.

3 years ago | 0

Question

how to implement structfun using 2 variables

Hi all, Is it possible to have a code which is similar to S.value1.x = 1; S.value2.x = 10; S.value3.x = 17; S1.value1.x = 1...

3 years ago | 2 answers | 0

### 2

answersAcces data in nested structure

Hi, You can treat the variable name as string. First you should store all the various_subStructures in an array(or cell) in f...

3 years ago | 0

How to create a mathematical expression which contains delays using Symbolic Math Toolbox?

Hi, There is mistake in the coe :) And the term I1*I3-4 is not the same you explained. Here it follows BODMAS rule. I1*I3-4 ...

3 years ago | 0

Please help me... please(by 6/6/2019)

Hi, I will not give the solutiopn for your homework. If you wanna try the solution, study the topic "Entropy in Information the...

3 years ago | 1

Running C code from Matlab

Hi Sandeep, For sure there is no one line solution for this. I learnt it using these video series by Matlab. please follow it, ...

3 years ago | 0

| accepted

sorting and summing through data

Hi, I managed to solve the question. Please review and update % positive is of class 1 and negetive is class 0 (just for ease ...

3 years ago | 0

How to create a 3D matrix out of 2D matrices?

Hi, The t0 you get from : t0=(sqrt(y0.^2+x0.^2) ./ c); t0 here is a matrix. So when you tell you want to increase t0 by 0.0...

3 years ago | 0

Plotting a cellArray Issue

Hi m j, Can you try something like this? celldata(j) = str2num(x) By doing this you are just storing them as numbers but not ...

3 years ago | 0

| accepted

Calculation between 2 vectors where one is 4d and other is 1d

Hi, small explanation of How I approached the answer. I changed domenstion on B so that it would that of A and the subtracted t...

3 years ago | 0

I need MATLAB to read my data from the bottom up.

Hi, I can help you with first part of the question. To read it inverse [NUM,TXT,RAW]=xlsread('Bonds.xlsx') %get the length [...

3 years ago | 0

a) Consider an input of a system given as ?[?] = {1, 2,3} and the impulse response of a system given ↑ as ℎ[?] = {4,5,6} for 0 ≤ ? ≤ 3. Use MATLAB to find and sketch the output ?[?].

Check this out: https://in.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-an...

3 years ago | 0

How to extract info from string using regexp?

Hi, Since all the lines are of same format. I would reccomend you to do something like this str = ['[DEBUG][HoraCorrelationMat...

3 years ago | 0

to write to a excel file

There cannot be two users editing a file together. In this case you are one user if the excel is open and Matlab is the other us...

3 years ago | 0

Index exceeds the number of array elements in while loop

Hi, I just shuffled the code a bit. Check this: clc clear x = input('Please enter the first number in the series:'); y = i...

3 years ago | 1

| accepted

While loop to break out of for loop

I would say yopu have to break using if condition. While command is used when you want a loop pos={}; limit = 2; for a= 1:siz...

3 years ago | 0

i want a c code for my matlab program

There is a toolbox called Embedded coder in matlab which converts the Model to required code.you can start with this video

3 years ago | 0

Question

What is the type of function Handle and How is it stored in memory?

I have been using function handle from a long time. Can someone explain how it is stored in memory. For example take the followi...

3 years ago | 2 answers | 0