Community Profile

Akshay Pratap Singh

IIT Roorkee

23 total contributions since 2018

View details...

Contributions in
View by

Question

for loop inside a if else loop
I am trying to write a code for multivariable fuction. I want all values of p2 and want to extract unique values. The code is a...

10 months ago | 1 answer | 0

1

Question

plotting a graph of multivariable function
I formulated a matlab code for obtaining a curve and it is giving results but inside a loop for y1 and y2. The code is taking on...

10 months ago | 1 answer | 0

1

How to find integral of this function.
Thanks @Walter Roberson, @ John D'Errico, @Steven Lord, for your contribution in the given problem. I will check my problem, whe...

11 months ago | 0

Question

How to find integral of this function.
clc clear all syms y1 k213 =(6858012277439187/(288230376151711744*cos(30*(3/2 - (3*y1)/2)^(1/2) - 10)*((-(8899397708189757*si...

11 months ago | 2 answers | 0

2

Question

DOUBLE cannot convert the input expression into a double array.
Hi, I wrote the following code to generate the smmoth curves. When executed, the program shows the following errors: The foll...

11 months ago | 1 answer | 0

1

Question

Solution of 5 degree symbolic equation
I am trying to find the solution of 5 degree equation symbolically but not getting the desired solution. I have written the foll...

1 year ago | 0 answers | 0

0

Question

solution by newton raphson method for nonlinear equations
I am writing a code for solving two non linear simultaneous equations using newton raphson method. I am not able to link the g a...

1 year ago | 0 answers | 0

0

Error using symengine. The dimensions of matrices or vectors are incompatible.
Thank you Roberson for suggestion: May you please help me out in solving these two nonlinear equations, HF and MF. The HF and M...

1 year ago | 0

Question

Error using symengine. The dimensions of matrices or vectors are incompatible.
Why Matlab cannot perform such a calculation ? This is not the first time I perform these kind of calculations. dbstop if err...

1 year ago | 2 answers | 0

2

Question

Undefined function 'matlabFunction' for input arguments of type 'double'.
I wrote a following code. If I remove H4_b, the code runs otherwise not. Rest all are ok. dbstop if error clear all clc form...

1 year ago | 2 answers | 0

2

Question

applying while loop for solving simultaneous equations
I am trying to include a condition that 'tan(alphac)<(1/lam)' in the following code. Here, ''alphac'' is dependent of ''x''. and...

1 year ago | 0 answers | 0

0

Question

Undefined operator '*' for input arguments of type 'function_handle'.
i wrote a following code. every thing is right but it shows error" Undefined operator '*' for input arguments of type 'function_...

1 year ago | 1 answer | 0

1

Question

Data must be numeric, datetime, duration or an array convertible to double.
I wrote a following code. It shows error:"Data must be numeric, datetime, duration or an array convertible to double." clear ...

1 year ago | 1 answer | 0

1

Question

Index exceeds matrix dimensions.
I wrote a following program. Everything is ok to my knowledge. But it shows the error; "Index exceeds matrix dimensions." cle...

1 year ago | 1 answer | 0

1

Question

maximum value of a function
Hi, I am trying to find the maximum value of 'Pa' in this code with respect to 'a' while others are known. I wrote a following p...

1 year ago | 1 answer | 0

1

Question

Use of nested loop
I wrote a program using nested loop. It shows error "The following error occurred converting from sym to double: DOUBLE cannot ...

1 year ago | 1 answer | 0

1

Question

use of If else condition
Hi all, I am trying to plot a function in which If else condition is required. I wrote a following code, May any body correct i...

1 year ago | 1 answer | 0

1

Question

Plotting a multivariable function
I wrote a code for plotting a mutivariable function but getting error like "Error using fplot (line 136) Invalid parameter '0 ...

1 year ago | 1 answer | 0

1

Question

How can the shear force diagram be plotted?
How can the shear force diagram be prepared through MATLAB for following figure?

1 year ago | 1 answer | 1

1

Question

How to find the jacobian of the system of nonlinear equations?
I wrote a following program, but it is giving some errors? clear all syms x h=4; gma=18.4; ka1=0.2; kp1=8.76 ka2=0.2; kp...

1 year ago | 1 answer | 0

1

Question

I am trying to solve 3 simultaneous nonlinear system of equations by newton's method.
I am trying to solve 3 simultaneous nonlinear system of equations by newton's method. I am getting an error in solving that syst...

1 year ago | 1 answer | 0

1

Question

How to solve 3 nonlinear system of equations?
I wrote a code in two files: file: 1 function [fval,jac]= CSPW1(X) x=X(1); y=X(2); z=X(3); fval(1,1)=0.1315*x^2+0.4526...

1 year ago | 1 answer | 0