Borrar filtros
Borrar filtros

How to use the same formula to find varies answer from different values?

2 visualizaciones (últimos 30 días)
Eg
First set of value s=20,t=3
Second set of value s=15, t=23
Formula => d=s*t
ans1=60 ans2=345 (answer i am expecting )

Respuesta aceptada

vijayasinthujan vijayaratnam
vijayasinthujan vijayaratnam el 6 de Mzo. de 2013
clear all clc
speed=[2 3 1 3]; time =[1 2 2 1]; D=speed.*time

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by