Implement a matlab function to calculate value, MATLAB Programming

Implement a MatLab function to calculate y.  The function should take two input arguments

1) A vector of parameters

In the above example this would be of length 3, the first value being A, the second B ...

2) A vector of x (dependent variable) at which to calculate the function.

 

Posted Date: 3/26/2013 6:36:18 AM | Location : United States







Related Discussions:- Implement a matlab function to calculate value, Assignment Help, Ask Question on Implement a matlab function to calculate value, Get Answer, Expert's Help, Implement a matlab function to calculate value Discussions

Write discussion on Implement a matlab function to calculate value
Your posts are moderated
Related Questions
A three degree of freedom system is shown in Figure.  The three masses are each 1 kg and are constrained to move in the directions shown.   The three stiffnesses are   5 kN/m, 50 k


1. Enter the 3×4 matrix Let a ij denote the entry of A in the ith row and jth column. Use Matlab to compute the following : (a) a 13 + a 32 (b) Three times the

function y=tps(r) % This is the thin-plate spline if r  y=0; else  y=r^2*log(r); end function y=fun(point) % my target function x=point(1); z=point(2); y=7-4*x^2+z^3;


how to write the national log (ln(x)) in matlap ?


clear clc %% DATA INPUT filename = input('Enter file name, including its extension: ', 's'); D = load(filename); %or load('Mphi.out'); %% %Trendline %Evaluates


The purpose of this assignment is to use Matlab/Simulink to analyse and simulate a mathematical model of an electromechanical system. This system comprises two component subsystems