Community Profile

mohammad m


Active since 2016

Statistics

  • Thankful Level 1
  • First Answer

View badges

Content Feed

View by

Question


How to prevent adding a number to a matrix elements?
in matlab if we have an matix like A[n,n], when we add a scalar value (b) to it, solve it like this: A+b*ones(n) ...

5 years ago | 3 answers | 0

3

answers

Question


how to continue code in next line with comment between them
i have a long line code, that i want to specify each part of code by comment in above it. i use (...) at end of each part to c...

5 years ago | 2 answers | 1

2

answers

Answered
I have a homework question I need assistance with. It has to do with surface area and parameters.
function A=Area(r) A=4*pi*r.^2; end write your vector like this in command: r=[r1 r2 r3 ...] and ...

6 years ago | 0

Question


how to calculated integral of multiplying two function handle that changed by loop
hi guys i have two function like these: f(x,y)=(i+1)x+(j-1)y g(x,y)=(i-1)x+(j-1)y (real functions are more co...

6 years ago | 2 answers | 1

2

answers