Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Can someone help with this code, Just started the problem and im confused

1 vue (au cours des 30 derniers jours)
Tony Hill
Tony Hill le 27 Avr 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
Can someone help me write this code? its for a Homework assignment
that calculates and returns the inverse of the product of 1 to n in step-size of 2, using a for loop, where n is an input argument passed to the function. For example, if 7 is passed, it will return 1/ 1x 3x 5x 7 . An example to call the function is below
  3 commentaires
Star Strider
Star Strider le 27 Avr 2014
I assume it’s the same problem as the one in your previous post Can someone help me with my code? with an example.
Jan
Jan le 27 Avr 2014
No, there is no "example below". What does this mean: "1/ 1x 3x 5x 7" ?

Réponses (1)

Image Analyst
Image Analyst le 28 Avr 2014
Actually Star, it's the same as http://www.mathworks.com/matlabcentral/answers/127418#answer_134820 where I gave a massive hint.

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by