Risolto


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

quasi 11 anni fa

Risolto


Changing a dd/mm/yyyy cell into a yyyymmdd int/double
Hi, i'm pretty to new to Matlab, I believe the title is self-explanatory. If anyone could help me out that would be great.

quasi 11 anni fa

Risolto


make a 10x10 vector of random numbers between 1 and 1000 and convert it into a 10x10 of all zeros
function heck_yes y = randi(10,1000) Converted = zeros(y)

quasi 11 anni fa

Risolto


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

quasi 11 anni fa

Risolto


Potential Energy
Calculate the potential energy of a rock.

quasi 11 anni fa

Risolto


How fast will the rock go?
Calculate the kinetic energy of a free falling rock.

quasi 11 anni fa

Risolto


Times 3 problem
When you enter the number, it should return the number multiplied by 3

quasi 11 anni fa

Risolto


Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?

quasi 11 anni fa

Risolto


Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9

quasi 11 anni fa

Risolto


only input
Return the output without writing any code into the function.

quasi 11 anni fa

Risolto


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

quasi 11 anni fa

Risolto


Equal to their cube
Tell me three real numbers that are equal to their cubes?

quasi 11 anni fa

Risolto


03 - Matrix Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3c.png>> A 10x10 matrix where the numbers from 1 to 100 ...

quasi 11 anni fa

Risolto


Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

quasi 11 anni fa

Risolto


03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

quasi 11 anni fa

Risolto


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

quasi 11 anni fa

Risolto


Find out Harmonic mean.
Find out Harmonic mean.

quasi 11 anni fa

Risolto


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. For instance : x= [...

quasi 11 anni fa

Risolto


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

quasi 11 anni fa

Risolto


Create a vector
Create a vector from 0 to n by intervals of 2.

quasi 11 anni fa

Risolto


Projector Matrix
Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.

quasi 11 anni fa

Risolto


Vector
Create a 1 x 10 vector from 1 to 20 with increments of 2

circa 11 anni fa

Risolto


create a column
use vector notation to create a column

circa 11 anni fa

Risolto


Carnot cycle
Carnot engine is considered the most efficient heat engine.When operated between two temperatures T1 and T2, the efficiency is g...

circa 11 anni fa

Risolto


facedetection and feature extraction using pandaboard
I need code for facedetection and feature extraction using pandaboard where matlab 2013a is used ...

circa 11 anni fa

Risolto


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

circa 11 anni fa

Risolto


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

circa 11 anni fa

Risolto


sum of the first 10 odd numbers
y = sum(first_10_odd_numbers)

circa 11 anni fa

Risolto


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

circa 11 anni fa

Risolto


Multiplying Vectors 101
Make a vector from 1 to x then multiply the sum of that vector by 2.

circa 11 anni fa

Carica altro