Community Profile

photo

Yavar Hayat


4 total contributions since 2019

Yavar Hayat's Badges

  • Thankful Level 1
  • First Answer

View details...

Contributions in
View by

Question


Cannot seem to correct the error with the function
It warns that the value assigned to fval (check last line)might be unused. There is something woring with the function, I cannot...

7 mois ago | 1 answer | 0

1

answer

Question


Simultaneous Changing of Values in For Loop.
Can I change two values at once in a for loop or any other way in MATLAB? As an example: t=0; for (i=1:1:3)&(j=2:1:4) k=...

7 mois ago | 1 answer | 0

1

answer

Question


What is the difference between using fsolve and iteration for solving a set of equations?
We can use fsolve to solve a set of equations by initilaising the variables or we can use an iterative method. Which is better? ...

7 mois ago | 1 answer | 1

1

answer

Question


Plotting the solution of multi-variable non-linear equations (solved using fsolve).
These are the equations: function [fval]= ptfunc(X) Tcell=X(1); Pcell=X(2); Qh=X(3); Pteg=X(4); alpha = 0.95; A = (0.04)^...

7 mois ago | 1 answer | 0

1

answer