# Ayush Modi

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**0** Questions

**137** Answers

RANK**551**

of 294,577

REPUTATION**136**

CONTRIBUTIONS

**0** Questions

**137** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**15**

RANK

of 20,127

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 152,032

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Taylor expansion with symbolic toolbox

Hi Insaf, I am assuming, you want to find the approximate with the Taylor series expansion of f up to the second order. You ca...

24 days ago | 0

Looking for a good source for using 2D Fast Fourier Transforms

Hi William, You can find 2D Fast Fourier Transform in MATLAB using "fft2" function. Refer to the following MathWorks documentat...

1 month ago | 0

equation as an output

Hi Clara, Yes, you can create a function in MATLAB that returns another function (a function handle to be precise) as its outpu...

1 month ago | 0

Out of memory when solving large system of non-linear equations (fsolve, fminunc, ...)

Hi Kai, While it is difficult to pinpoint exact solution for "Out of memory" error, you can try the following workarounds: Add...

1 month ago | 0

solving systems of equations but returns empty solutions

Hi Nicky, The reason "solve" function is returning an empty solution is because the set of equations you are trying to solve do...

1 month ago | 0

How use fmincon for a function with many variables?

Hi Reihaneh, I understand you want to minimize the given cost function using "fmincon" variable but having difficulty due to mu...

1 month ago | 0

How to find all double expressions added to a very long formula?

Hi Yusuf, I understand you want to get the coefficient values of all the terms which contains thetadot1*thetadot2. You can ach...

1 month ago | 0

Using operators for syms

Hi Majid, Please note that; with the given values, the result of adding A and B should be - (3*S) + 5/( S^2+4*S+3) Assuming ...

1 month ago | 0

splitting a large column into smaller columns

Hi Ahmed, You can use "reshape" function to reshape array by rearranging existing elements. However, "reshape" function require...

1 month ago | 0

Create variables and vectors dynamically

Hi CarAnAlb, MATLAB is optimized for operations involving matrices and vectors. The process of revising loop-based to use MATLA...

2 months ago | 0

Parse Error when using Syms

Hi Karo, Error indicates that the use of syms is incorrect as MATLAB is interpreting the line "syms = Y_1(x) Y_2(x) Y_3(x) Y_4(...

2 months ago | 0

Solve equation with multiple variables

Hi Felix, You can solve a system of equations using "solve" function of MATLAB. Here is the example code to get you started: ...

2 months ago | 0

How to find the minimum using Newton method (matlab)

Hi Nikoo, I understand you are trying to implement the Newton's method for finding the minimum of the given function. Here is ...

2 months ago | 0

Is it possible to generate MCDC coverage testcases from a boolean Matlab function?

Hi George, I understand you want to write a boolean MATLAB function and do a MC/DC analysis for that function. You can use Simu...

2 months ago | 0

Simscape block pip (G)

Hi, The pressure drop calculation done by the block Pipe (G) in Simscape contains two parts: The pressure losses due to moment...

3 months ago | 0

How to calculate the determination coefficient R^2 with two matrix ?

Hi Albert, You can calculate the covariance between two matrices A and B using "cov" function. To calculate covariance for each...

3 months ago | 1

| accepted

GCC Error When Compiling S-Function

Hi Gourav, The error message generated by the gcc compiler suggests that the "gcc" is unable to find the file which have to be ...

3 months ago | 0

How to import 'kfoldPredict' for old version matlab (2023a)

Hi Evelyn, "kfoldPredict" function was introduced in r2011a. You can use the function in r2023 as well. However, "kfoldPredict...

3 months ago | 0

I am getting "Swing is not available error"

Hi Gourav, This is an bug with "importONNXNetwork" function. As a workaround, you can follow the below steps: 1. Run ...

3 months ago | 0

Unable to obtain double precision from symbolic value

Hi Bamelari, You can convert the symbolic value into double precision value using double method. Here is a sample code to demon...

3 months ago | 0

Zoom breaks UIFigureWindowKeyPress in App Designer

Hi Zel, When the zoom mode is enabled(using zoom icon or by zoom function), the control stays with the function. The UIFigureW...

3 months ago | 0

| accepted

Storing output values from a for loop into an "array"

Hi Ammar, I am assuming you want to append the kp_root values you obtain in each iteration of for loop and store them in the va...

3 months ago | 0

| accepted

Possibility of dropdown from a toolbar button in app designer?

Hi Ian, I am assuming by upper toolbar, you mean the Push Tool button in the toolbar of the App Designer. Yes, you can have a d...

3 months ago | 0

Incorrect results of inverse tall array

Hi Chen, Your code looks good to me. The issue might be with the data. I tested the code with randomly generated matrix as wel...

4 months ago | 0

Alternative to interp2

Hi, "griddedInterpolant" function will run faster and is recommended by MathWorks as an alternative to calling "interp2" multip...

4 months ago | 1

How to show the output on the right side of the coding pane?

Hi Asuka, Outputs are generated on the right side of the code panel in 'Live Editor' which is what you are using in the second ...

4 months ago | 0

| accepted

Inverse huge matrix with tall array

Hi Chen, "If I use my verctor b, it shows an error with incompatible tall array argument in tall/qrLeftSolve." Operator '\' re...

4 months ago | 0

The plot for Frequency Domain Signal wont show up, where is the problem?

Hi, When running the provided code, with the attached file, variable t_f is being calculated to NaN values. % Output of disp(t...

4 months ago | 1

Not possible to one hot encode in a timetable column

Hi Rafael, I am assuming you are referring to onehotencode function in MATLAB. The error is because onehotencode function expe...

4 months ago | 0

how to do 2D Extrapolation

Hi A-Rod, The error is occuring because 'extrapVal' argument in interp2 function expects a real or complex scalar but in the pr...

4 months ago | 0

| accepted