Solved

Binary Coder

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

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Solved

Free passes for everyone!

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

fast 2 Jahre ago

Solved

First N Perfect Squares

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

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Answered

How to implement a Correlated Brownian Motion correctly

here is a clear demonstration <http://www.goddardconsulting.ca/matlab-monte-carlo-assetpaths-corr.html>

How to implement a Correlated Brownian Motion correctly

here is a clear demonstration <http://www.goddardconsulting.ca/matlab-monte-carlo-assetpaths-corr.html>

fast 2 Jahre ago | 0

Answered

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

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

fast 2 Jahre ago | 0

Solved

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

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Solved

intervals

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

fast 2 Jahre ago

Solved

NaN (欠損値) が含まれている行を削除しよう

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

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Solved

Sum the rows

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

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Solved

Rankine to Kelvin Converter

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

fast 2 Jahre ago

Solved

Kinetic Energy

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

fast 2 Jahre ago

Solved

vectors counting by 5

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

fast 2 Jahre ago

Solved

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.

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Solved

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

fast 2 Jahre ago

Solved

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

fast 2 Jahre ago

Solved

Problem 44444 !!! free beer everyone

just say hallelujah to resolve this problem

fast 2 Jahre ago

Problem

Problem 44444 !!! free beer everyone

just say hallelujah to resolve this problem

fast 2 Jahre ago | 0

Problem

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

fast 2 Jahre ago | 0