# Raghunandan V

Last seen: 4 years ago Active since 2018

Followers: 0   Following: 0

All

View badges

#### Feeds

View by

Answered
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

5 years ago | 0

Solved

Add two numbers
Given a and b, return the sum a+b in c.

5 years ago

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

Answered
Building the Matrix from the two matrices
Hi, Please check the answer LA = [ 0 77 0 0; 77 0 15 0; 0 15 ...

5 years ago | 0

| accepted

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

Answered
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

5 years ago | 0

Answered
How to adjust the value of something using if-else logic in Simulink
Hi, Try using switch block from simulink library

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

5 years ago | 2 answers | 0

### 2

answers

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 1

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

5 years ago | 0

| accepted

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

| accepted

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 1

| accepted

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

5 years ago | 0

Answered
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

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

5 years ago | 2 answers | 0

answers