Resuelto


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

casi 7 años hace

Resuelto


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

casi 7 años hace

Resuelto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

casi 7 años hace

Resuelto


Binary Coder
Take an input number and print the binary value of this number.

casi 7 años hace

Resuelto


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

casi 7 años hace

Resuelto


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

casi 7 años hace

Resuelto


First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

casi 7 años hace

Resuelto


Temperature question
get the temperature...in celcius

casi 7 años hace

Resuelto


Getting the indices from a matrice
Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. Given a...

casi 7 años hace

Resuelto


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

casi 7 años hace

Resuelto


Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

casi 7 años hace

Respondida
How to implement a Correlated Brownian Motion correctly
here is a clear demonstration <http://www.goddardconsulting.ca/matlab-monte-carlo-assetpaths-corr.html>

casi 7 años hace | 0

Respondida
Error: Z must be a matrix, not a scalar or vector
read <https://www.mathworks.com/help/matlab/ref/meshgrid.html here> you didn't use meshgrid in the right way

casi 7 años hace | 0

Resuelto


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

casi 7 años hace

Resuelto


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

casi 7 años hace

Resuelto


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

casi 7 años hace

Resuelto


intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

casi 7 años hace

Resuelto


NaN (欠損値) が含まれている行を削除しよう
行列 A が与えられたとき、その行列の中に NaN (Not a number; 欠損値) の要素がある行を見つけ出し、その行を削除しましょう。 例: A = [ 1 5 8 -3 NaN 14 ...

casi 7 años hace

Resuelto


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

casi 7 años hace

Resuelto


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

casi 7 años hace

Resuelto


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

casi 7 años hace

Resuelto


Rankine to Kelvin Converter
Given input R, degrees Rankine, convert into degrees Kelvin.

casi 7 años hace

Resuelto


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

casi 7 años hace

Resuelto


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

casi 7 años hace

Resuelto


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

casi 7 años hace

Resuelto


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

casi 7 años hace

Resuelto


Find the outlier in a set of samples
Given an array x of numbers. Assumed that this array has one outlier. Find the position p and the value v of the outlier in this...

casi 7 años hace

Resuelto


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

casi 7 años hace

Resuelto


Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

casi 7 años hace

Resuelto


Problem 44444 !!! free beer everyone
just say hallelujah to resolve this problem

casi 7 años hace

Cargar más