photo

Ayush Modi


Last seen: ongeveer 2 maanden ago Active since 2023

Followers: 0   Following: 0

Statistics

  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer

View badges

Feeds

View by

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

2 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

3 maanden ago | 0

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

4 maanden ago | 0

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

4 maanden ago | 1

| accepted

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

4 maanden ago | 0

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

4 maanden ago | 0

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

4 maanden ago | 0

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

4 maanden ago | 0

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

4 maanden ago | 0

| accepted

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

4 maanden ago | 0

| accepted

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

4 maanden ago | 0

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

5 maanden ago | 0

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

5 maanden ago | 1

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

5 maanden ago | 0

| accepted

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

5 maanden ago | 0

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

5 maanden ago | 1

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

5 maanden ago | 0

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

5 maanden ago | 0

| accepted

Load more