How to easily define the following expressions

1 visualizzazione (ultimi 30 giorni)
dcydhb dcydhb
dcydhb dcydhb il 28 Feb 2019
1.PNG
In this system of equations, I want to solve uppercase a (n, k) and b (n, k), everything else is known, because k is zero, so it's not easy to use the matrix operation in matlab, how to define the expression can make the operation more convenient. For example, whether you can use handle and so on.
If so, why not the following calculations
a=@(n,k)(besselj(w,1)^2+n^2+k^2)
%b=a+1;
b=@(n,k)(a+1)
This is just a simple example, and my question is, if you find the simplest way to define an expression, to solve the above problem.

Risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti


Release

R2014a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by