解決済み


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 ...

11年弱 前

解決済み


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.

11年弱 前

解決済み


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)

11年弱 前

解決済み


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

11年弱 前

解決済み


Potential Energy
Calculate the potential energy of a rock.

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


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?

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


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 ...

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


Find out Harmonic mean.
Find out Harmonic mean.

11年弱 前

解決済み


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= [...

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


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

11年弱 前

解決済み


create a column
use vector notation to create a column

約11年 前

解決済み


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

約11年 前

解決済み


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

約11年 前

解決済み


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...

約11年 前

解決済み


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...

約11年 前

解決済み


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

約11年 前

解決済み


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

約11年 前

解決済み


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

約11年 前

さらに読み込む