Community Profile

# Bogdan MP

Last seen: 15 days ago Active since 2021

#### Content Feed

View by

Question

Running a function in “for” cycle, containing vpasolve()
I have some function in my script that solves a system of nonlinear algebraic equations function Lam = lambdas1(x1, x2, x3, x4,...

2 months ago | 0 answers | 0

### 0

Question

How to write a function with logical condition which takes an array and turns back an array?
What I want to acheive is the following. Let's say I have the function if and . I have two vectors with nodes: and and I w...

3 months ago | 1 answer | 0

### 1

Question

A function does not work with an array as an input argument
I have the following function MyFun = @(a, x) ( integral(@(k) k .* (1 ./ ( 1 + (a*k - x).^2 )), -1, 1) ./ ... integral(@(k) 1 ...

3 months ago | 1 answer | 0

### 1

Question

How to plot a 3D surface with two vectors and one array?
I want to plot a 3D surface , but I cannot apply the surf() command straightforwardly for some reason. I have two vectors for...

3 months ago | 1 answer | 0