Community Profile

photo

Navya Singam

Last seen: Today Active since 2021

Statistics

All
  • Revival Level 2
  • 3 Month Streak
  • Knowledgeable Level 2
  • Treasure Hunt Participant
  • Solver
  • First Answer

View badges

Content Feed

View by

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

7 months ago | 0

| accepted

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

7 months ago | 0

| accepted

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

7 months ago | 0

Answered
Enter data into a website field and read response data
Hi Mike, You can refer to this answer to resolve the error.

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

Answered
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 months ago | 1

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

| accepted

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

8 months ago | 0

| accepted

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

9 months ago | 0

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

9 months ago | 1

| accepted

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

9 months ago | 0

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

9 months ago | 0

| accepted

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

9 months ago | 1

| accepted

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

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

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

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

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

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

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

9 months ago

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

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

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

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

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

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

9 months ago

Load more