Community Profile # Raghunandan V

Last seen: circa 2 anni ago Active since 2018

#### Statistics

All
• • • • • • • #### Content Feed

View by

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

circa 3 anni ago | 0

Solved

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

circa 3 anni ago

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

circa 3 anni 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 ...

circa 3 anni ago | 0

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

circa 3 anni 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...

circa 3 anni 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 ...

circa 3 anni 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...

circa 3 anni 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?.

circa 3 anni 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...

circa 3 anni ago | 0

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

circa 3 anni ago | 0

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

circa 3 anni 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.

circa 3 anni 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...

circa 3 anni ago | 2 answers | 0

### 2

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

circa 3 anni 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 ...

circa 3 anni ago | 0

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

circa 3 anni 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, ...

circa 3 anni 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 ...

circa 3 anni 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...

circa 3 anni 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 ...

circa 3 anni 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...

circa 3 anni ago | 0

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

circa 3 anni 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 ?[?].

circa 3 anni 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...

circa 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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...

oltre 3 anni 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

oltre 3 anni 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...

oltre 3 anni ago | 2 answers | 0