Write a function called triple, Programming Languages

Write a function called triple (in a file called 'triple.m'). That takes a single variable x and returns a single variable in which every element of x is multiplied by 3. Make sure to properly construct the help text for the function in the first comment block. Be sure to include an H1 line.

From within 'hw4.m' write a series of expressions that demonstrate the triple function being used a variety of input including both scalers and arrays. Also make sure to demonstrate that its help text works properly. 

 

Posted Date: 3/22/2013 7:04:24 AM | Location : United States







Related Discussions:- Write a function called triple, Assignment Help, Ask Question on Write a function called triple, Get Answer, Expert's Help, Write a function called triple Discussions

Write discussion on Write a function called triple
Your posts are moderated
Related Questions
asample database report

Open error message coming out when compiling


Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Project2: A Simple Distributed Computing Platform (Due at 11:59:59pm on 04/12/2012 (EST)) Description: You are asked to develop a replicator (client) that distributes a large job

ASP.NET and ASP.NET AJAX ASP.NET AJAX, formerly known as "Atlas", is an Enthusiasm rendering of an AJAX centered structure, designed for ASP.NET (although it can be used on other s

I need help with some simple matlab statements

This assignment is divided into two parts. The goal is to write a Java program that calculates capital gain on a stock market, see Lab 7. When a share of common stock of some co

1. CMP and SUB CMP is used for comparing 2 registers by subtraction them from one another, but answer is not saved, whereas SUB subtracts 2 registers and saves the answer.

Extend the AirRaid game, so that the planes drop a bomb on the gun as they go over it. The gun has to move out of the way otherwise it will be destroyed if hit. Provide three lives