with x calculated f(x)

Hallo can anyone help me? If I've a point x ,how to calculate just the specific value of f(x) in matlab?

回答 (1 件)

ahmed
ahmed 2013 年 10 月 28 日

0 投票

if you mean function with input (ex:R) and output (ex:X)
use this example :
function [x] = cal(r)
% This is an example function.
% I have no idea what r or x are.
x = r.*sin(r);
(X is the output) (cal is the function to be called) (R= is the input)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

質問済み:

2013 年 10 月 28 日

回答済み:

2013 年 10 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by