Community Profile

photo

Majeed


Last seen: 3 mois il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • First Answer
  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


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...

3 mois il y a | 1 réponse | 0

1

réponse

Question


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...

4 mois il y a | 3 réponses | 0

3

réponses

A répondu
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; ...

environ 2 ans il y a | 0

Question


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 ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 4 ans il y a | 2 réponses | 0

2

réponses