photo

David Alejandro Lugo Gamez


Last seen: environ un mois il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

plus de 2 ans il y a

A résolu


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

plus de 2 ans il y a

A résolu


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

plus de 2 ans il y a

A résolu


the average value of the elements
Calculate the average value of the elements in the array

plus de 2 ans il y a

A résolu


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

plus de 2 ans il y a

A résolu


Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

plus de 2 ans il y a

A résolu


Calculate the square of a number (Super Easy)
The goal is to calculate the square (y) of a number (x). Good way to start MatLab for beginners.

plus de 2 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 2 ans il y a