# Navya Singam

### MathWorks

I am an Associate Application Support Engineer at MathWorks. DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of MathWorks.

**Statistics**

RANK**1,172**

of 249,646

REPUTATION**40**

CONTRIBUTIONS

**0** Questions

**25** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**4**

RANK

of 17,360

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

Trying to code from Polymath

Hi, MATLAB Version of the Polymath code %%Initial conditions IC=[1,1,1,1,1,1]; Vspan=[0 50]; [V,CT]=ode15s(@fn,Vspan,IC);...

4 days ago | 0

| accepted

Two appdesigner.mlapp files combine in one windows can or not?

Hi, You can have main screen with two buttons displayed and write the callback for each button to launch the specific individua...

5 days ago | 0

| accepted

disable function signature hints in app designer editor

Hi, You can disable the function signature hints in the App Designer editor by toggling off the Automatic Completions button of...

5 days ago | 0

Enter data into a website field and read response data

Hi Mike, You can refer to this answer to resolve the error.

6 days ago | 0

'Value' must be a double scalar within the range of 'Limits'.

Hi, The error says, app.V.Value = Vel The value the component 'V' in the App Designer expects a double scalar value and also...

6 days ago | 0

array slicing in Matlab

Hi, MATLAB Version of the code would be sizeOfData = size(data) for i=1:length(pos) if i < (sizeOfD...

6 days ago | 0

Get "Unrecognized function or variable 'H'." when try to plot graph using variable imported from simulink using "To Workspace" block diagram in MATLAB

Hi, From my understanding you are trying to save the output data to the MATLAB workspace using the To Workspace Block. To Work...

7 days ago | 0

syntax issues when adapting an old code from 2009a

Hi, In this line of code, f(1) = simplify(-subs((G*Eu - F*(2*Fu - Ev)) /(2*g)*'x(3)*x(3)'+ (G*Ev - F*Gu)/g*'x(3)*x(4)'+(G*(2...

2 months ago | 0

Cannot understand the error in my code to solve differential equation. Please someone tell me the corrections to be made.

Hi Mehul, The mentioned error in the code is because of the following lines ycf = 'exp(m*t)' y1 = diff(ycf,t); ycf is of the...

2 months ago | 0

The function "solver" was closed with an 'end', but at least one other function definition was not. All functions in a script must be closed with an 'end'.

Hi, "end" statement can be used to terminate the declared function. "end" statement at the end of function is optional, but if ...

2 months ago | 0

Why MATLAB 2021b LiveScript has large left margin column?

Hi, The extra space in the left margin of the R2021b MATLAB is because of the addition of the "Run to Here" button in R2021b ve...

2 months ago | 0

| accepted

extract a differential equation solution from struct

Hi, You can use the "deval" function to evaluate differential equation solution structure. The "deval" function accepts the sol...

2 months ago | 0

| accepted

Index in position 1 exceeds array bounds.

Hi Maryam, As the trainf is an empty matrix i.e trainf=[], and you are trying to refer to the rows of an empty matrix, the co...

2 months ago | 0

Why do I receive sym/subsasgn error?

Hi, The error is because of the following lines, t = t0:dt:tf; %%from time discretization section [mlSol(t), rpSol(t), TpS...

2 months ago | 1

| accepted

I choose 0 files to construct matrix, all matrix entries are 0

Hi, You may use the if and else block and "zeros" function to add the code for when the number of selected files is 0. zeros ...

2 months ago | 0

Is there a way to programmatically change the keyboard shortcut preferences?

Hi Tom, As of now, there is no programmatic way to change the keyboard shortcut preferences. The developers are aware of it and...

2 months ago | 0

| accepted

fde12 function is not found

Hi, fde12 is not a MATLAB inbuilt function. It is available as a part of the File Exchange submission. You can download and add...

2 months ago | 1

| accepted

How do i use and -s flag for compiling a MATLAB app

Hi, For obfuscating the code, you can use the "pcode" function in MATLAB. It converts the .m file to P-file, which is content-o...

2 months ago | 0

Solved

Calculate Inner Product

Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

2 months ago

Solved

Find MPG of Lightest Cars

The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

2 months ago

Solved

Find the Best Hotels

Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

2 months ago

Solved

Crop an Image

A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

2 months ago

Solved

Calculate BMI

Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

2 months ago

Solved

Plot Damped Sinusoid

Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

3 months ago

Solved

Calculate a Damped Sinusoid

The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

3 months ago

Solved

Solve a System of Linear Equations

Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

3 months ago

Solved

Find the Oldest Person in a Room

Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

3 months ago

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

3 months ago

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

3 months ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 months ago