Effacer les filtres
Effacer les filtres

with x calculated f(x)

2 vues (au cours des 30 derniers jours)
valerio
valerio le 28 Oct 2013
Réponse apportée : ahmed le 28 Oct 2013
Hallo can anyone help me? If I've a point x ,how to calculate just the specific value of f(x) in matlab?

Réponses (1)

ahmed
ahmed le 28 Oct 2013
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)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by