Resuelto


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

más de 6 años hace

Resuelto


Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...

más de 6 años hace

Pregunta


Multiply the vector organs
How to multiply the vector parts without using a prod function For example: s=[1 2 3 4], v=24

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Random integers in input
How can I give a set of random integers (including negative numbers)?

más de 6 años hace | 0 respuestas | 0

0

respuestas

Resuelto


Triangle of numbers
Create a matrix with the integers from 1 to |n| arranged in a triangular shape. Every row |i| of the matrix contains |i| inte...

más de 6 años hace

Pregunta


Raise the zeros in the vector up
If I have a vector [5 8 0 7 9 0 3], how do I put it this way: [0 0 5 8 7 9 3] use only function if-else thank you.

más de 6 años hace | 1 respuesta | 0

1

respuesta