Community Profile

photo

anto


Last seen: 12 months ago Active since 2022

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


interp2 from 6x6 map to 500x500 map
I have this matrix which represents a profile of velocity which my model gave as an output: V = [55.4710 58.8408 64.2922...

1 year ago | 1 answer | 0

1

answer

Question


'integral' with piecewise expressions
I have the following expression for the angle Beta: L = 1; syms y Beta = piecewise(0<=y<L/2, pi/2, ... L/2 <=y <L*(3/4)...

1 year ago | 2 answers | 0

2

answers

Question


3d matrix to 2d matrix
I have this matrix val(:,:,1) = 0.5000 0 0.5000 0.3333 0.5000 0.6667 0.5000 1.0000 val(:,:,2) = 0.5000 ...

1 year ago | 1 answer | 0

1

answer

Question


intersections between rays and 2D square grid
I'd like to calculate the intersections between a square grid and lines for a problem which looks like this: Let's say we have ...

1 year ago | 1 answer | 0

1

answer

Question


fsolve with vectors x and y (not x(1) x(2))
I'd like to use fsolve, to solve for the vectors x and y, this nonlinear system which i wrote in a function. function F = Equat...

1 year ago | 2 answers | 0

2

answers

Question


fsolve with writting automatically equations
In this code I write equations in this form in a for loop: Dtau(i)+2*x(1)*l(i)*(s(i)^2*(cos(x(2))*cos(alpha_1(i))+sin(x(2))*si...

1 year ago | 2 answers | 0

2

answers

Question


remove brace indexing from 1x1 matrix
I have a list of equations written with a fprintf loop and imported with importdata: 6×1 cell array {'-0.0003646474+2*x(1...

1 year ago | 2 answers | 0

2

answers

Question


sprintf loop for writing equations
i would like to get matlab to write equations automatically which i would like to use in fsolve. the equations which i would li...

1 year ago | 2 answers | 0

2

answers