Community Profile

photo

Majeed


Last seen: 2 months ago Active since 2019

Statistics

  • First Answer
  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

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

2 months ago | 1 answer | 0

1

answer

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

3 months ago | 3 answers | 0

3

answers

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

2 years ago | 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 ...

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 2 answers | 0

2

answers