Community Profile

# Pier Giorgio Petrolini

##### Last seen: 21 days ago
8 total contributions since 2020

View details...

Contributions in
View by

Code not coming out of if statement.
Hello Steve, Is it that what you were looking for ? clear all , clc, format compact L = 30; m = 68.1; c_d = 0.25; k = 40...

1 month ago | 0

Writing a matrix to Excel
Hello Lennard, have you tried to use "writetable" instead of "writematrix" ? I've never had this problem with the other function...

2 months ago | 0

how to overcome error: Index in position 1 is invalid. Array indices must be positive integers or logical values.
Hello, the problem is basically that the variable "e" after calculations has some decimals (zeros), and you can't use it as it i...

2 months ago | 1

| accepted

Solved

Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

2 months ago

I am trying to plot two functions in one plot (not working)
Hello Mahmoud, I can't see all your code, so I have to assume that all the rest is correct and, that you need to plot the func...

2 months ago | 1

| accepted

How to plot particle trajectories and normalise to 0,0 origin?
Hello Amadeus, I tried to solve your problem in the following way : 1) Convert the dataset in a table; 2) Find all the points ...

2 months ago | 1

Solving 54 linear equations
Hello, you can use the strong point of MATLAB that is operating with arrays. I'm not sure I understand the probem you're facing...

2 months ago | 0

| accepted

Solving system of 3 non-linear equations.
I hope it can be already helpfull... syms x y z eq1=exp(x)+sqrt(y)-z.^3-2 eq2=x.^2-y-z-5 eq3=x+exp(y-1)+z-7 eqs = [eq1, e...

10 months ago | 0