Recent content by kobjob

  1. K

    Nonuniform mesh with the numerical method of characteristics

    Thanks for your suggestions! I'm using Matlab. I'm not sure how/if I should be moving the fine mesh as the characteristics move. Thanks again, Kate
  2. K

    Nonuniform mesh with the numerical method of characteristics

    Could someone please direct me to a good book/article that describes how to use a coarse and fine spatial mesh with the numerical method of characteristics? Thank you. Kate
  3. K

    How to Solve a Double Summation Problem?

    You don't need to do a transform, if you start with the sum over j you will get \sum_{k=0}^{4} (3^k+1k+ ... 3^k+5k) = 0+ ...+ 3^4+20
  4. K

    How can I use MATLAB to plot and sum values using vectors and matrices?

    Well k1 is a vector with entries 1 to 3, k1=(1 2 3). m is the 3 x 3 identity matrix. For each j, I want to do the sum from k= 1 to 3 sum((k+k1(j)).*m(k,j)) = (1+k1(j))*m(1,j) + (2+k1(j))*m(2,j) + (3+k1(j))*m(3,j) Then I want to plot the values of the sum for each j.
  5. K

    How to Solve a Double Summation Problem?

    It doesn't make a difference which order you do it in. You can see if you type the following into matlab: syms k syms j symsum(symsum(k^j,j,0,4),k,1,3) or, symsum(symsum(k^j,k,1,3),j,0,4) the answer is 157 either way.
  6. K

    How can I use MATLAB to plot and sum values using vectors and matrices?

    Hi everyone, Could someone please tell me how to get MATLAB to do the following seemingly simple task.. j=1:3; k1=1:3; m=eye(3) plot(j,symsum((p8+k1(j)).*m(p8,j),p8,1,3)) or, k=1:3; plot(j,sum((k+k1(j)).*m(k,j))) Thanks for any suggestions, Kate
Back
Top