photo

Majeed


Last seen: 4 Tage vor Aktiv seit 2019

Followers: 0   Following: 0

Statistik

  • First Answer
  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Using function handle in fittype function
Hi, I have this code and it works fine: z=[5.26;7.58;12.64;15.38;12.64;7.58;5.26]; x=linspace(-pi/2,pi/2,7); q=2; g = fitty...

6 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Derive function handle with a vector input argument
when I run this piece of code q=[3 2 2 3]; f=@(p,x,y) p(1)*x.^2+p(2).*y.^2+p(3)*x.*y+p(4); syms 'x' df=diff(f,x); dfdx=matl...

7 Monate vor | 3 Antworten | 0

3

Antworten

Beantwortet
Evaluation of the Stiffness Matrix and Stress Matrix by Gaussian Quadrature
Hey Brian, I edited your code and it works well for me. Here it is and thank you. % Material properties E = 1; v = 0.3; ...

mehr als 2 Jahre vor | 0

Frage


Speed up nested loops
I am trying to speed these loops up but I couldn't. please help me. this code to calculate the shortest distance between lines ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Distance between all points in array and delete the second point if it is less that certian value (Victorized)
I have this loop to calculate the distance between all of the points in R_all array and delete the second point if the distace l...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten