Matrix of symbolic functions

后端 未结 3 351
旧巷少年郎
旧巷少年郎 2021-01-27 02:04

I would like to define a matrix of symbolic functions (not variables) in Matlab. In the workspace I would like it to be an element of class symfun of size N-by-M (where N<

3条回答
  •  囚心锁ツ
    2021-01-27 02:24

    I don't know how to create a matrix, but a cell is possible:

    c={symfun(x+y, [x y]),symfun(x+2*y, [x y]);symfun(x+3*y, [x y]),symfun(x+4*y, [x y])}
    

    Maybe this is sufficient in your case.

提交回复
热议问题