photo

Ayush Modi


Last seen: 9 días hace Con actividad desde 2023

Followers: 0   Following: 0

Estadística

  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer

Ver insignias

Feeds

Ver por

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

22 días hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 2 meses hace | 0

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

2 meses hace | 0

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

2 meses hace | 1

| aceptada

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

2 meses hace | 0

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

2 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

| aceptada

Respondida
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 meses hace | 0

| aceptada

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

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

4 meses hace | 1

Respondida
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 meses hace | 0

| aceptada

Respondida
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 meses hace | 0

Respondida
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 meses hace | 1

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

| aceptada

Cargar más