photo

Saurabh Madankar


Last seen: 4 months ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Feeds

View by

Question


How to define a function whose number of outputs depend on an input parameter value?
Say for M = 4, I have a code below. function [c,ceq] = Constraint(M) c = []; for i=1:M ceq_{i} = i; end...

6 months ago | 1 answer | 0

1

answer

Question


How do I define piecewise constant function in for loop?
For example, say I have data points given by , and corresponding output points. Now I want to define a piecewise constant func...

1 year ago | 1 answer | 0

1

answer

Question


How do I multiply a given function handle with the independent variable?
I have pre-defined n number of function handles f_{i} which are functions of t for i = 1 to n. How do I define a new function g_...

1 year ago | 2 answers | 0

2

answers

Question


How to solve large system of nonlinear equations using fsolve?
I have a large system of nonlinear equations in matrix form. Somewhat like X*A+X.*X==0; where is matrix of unknowns, is sc...

1 year ago | 1 answer | 0

1

answer

Question


How do I change the font of the mathematical symbols in the figure in the overleaf file?
The package that I have used in my overleaf file for the mathematical equations and symbols is \usepackage[cal=boondoxupr, ...

1 year ago | 1 answer | 0

1

answer

Question


How do I plot this set as 3d region in matlab?
This is the set I need to plot- . My main purpose is to see how this set is convex, so I am trying to plot this graph in MATLA...

2 years ago | 2 answers | 0

2

answers

Question


Writing code for given general matrix in MATLAB
How do I write a code for the following matrix of order cM X cM? Here, where are all known scalars and 's are function handl...

3 years ago | 1 answer | 0

1

answer

Question


Alternate way of defining given function using function handle for fmincon
I have an objective function which is of the form J = where is a matrix of arbitrary constants which I have to determine alon...

3 years ago | 1 answer | 0

1

answer

Question


Creating a row vector of function handles
I have pre-defined function handles f_{i} using cell arrays for say i =1 to 8, so total 8 function handles. Now how do I create ...

3 years ago | 1 answer | 0

1

answer

Question


Creating a function in MATLAB
I need to create a function with input i and outputs j and k. So i varies from 1,2,3... and i,j and k are related as , where j =...

3 years ago | 1 answer | 0

1

answer

Question


Defining sequence of functions in MATLAB
Hello, The Haar mother wavelet is defined as- Now we can define a sequence of functions - where So for i=1, j=0 and ...

3 years ago | 1 answer | 0

1

answer

Question


Solving large system of linear equations
How to solve a large system of linear equations in MATLAB? In particular I have 31 equations and 31 unknowns and I can write the...

3 years ago | 1 answer | 1

1

answer

Question


How can I know more details about the function spap2?
The built-in function spap2 returns the B-form of the spline. My main goal is to know how exactly it calculates the coefficients...

3 years ago | 1 answer | 0

1

answer

Question


Writing summation inside function handle
Hey, I have this term u = @(x) c(1)*f(3*(x-t(1)))+c(2)*f(3*(x-t(2)))+c(3)*f(3*(x-t(3)))+c(4)*f(3*(x-t(4)))+... c(5)*f(3*(...

3 years ago | 1 answer | 0

1

answer

Question


Writing code to evaluate B-form of the spline without using any built-in functions that directly give the B-form
Hello, my task is to write a code to find out the B-form of the spline f given knots, degree of the polynomial, data sites x an...

3 years ago | 1 answer | 0

1

answer

Question


Alternative way of defining a variable
Hello, Is there any way I can define a variable without assigning it any value and not using syms?

3 years ago | 2 answers | 0

2

answers