with x calculated f(x)

조회 수: 1 (최근 30일)
valerio
valerio 2013년 10월 28일
답변: ahmed 2013년 10월 28일
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일
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)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by