Solved

Binary Coder

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

oltre 2 anni 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

oltre 2 anni 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...

oltre 2 anni ago

Solved

First N Perfect Squares

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

oltre 2 anni 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...

oltre 2 anni 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: ...

oltre 2 anni 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...

oltre 2 anni 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>

oltre 2 anni 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

oltre 2 anni 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 ...

oltre 2 anni 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 ; ...

oltre 2 anni ago

Solved

intervals

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

oltre 2 anni ago

Solved

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

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

oltre 2 anni 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: ...

oltre 2 anni ago

Solved

Sum the rows

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

oltre 2 anni 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 ...

oltre 2 anni ago

Solved

Rankine to Kelvin Converter

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

oltre 2 anni ago

Solved

Kinetic Energy

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

oltre 2 anni ago

Solved

vectors counting by 5

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

oltre 2 anni 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.

oltre 2 anni 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...

oltre 2 anni ago

Solved

Matrix Generation from Vector Multiplication

Output the matrix generated from multiplying two vectors together

oltre 2 anni 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...

oltre 2 anni ago

Solved

Problem 44444 !!! free beer everyone

just say hallelujah to resolve this problem

oltre 2 anni ago

Problem

Problem 44444 !!! free beer everyone

just say hallelujah to resolve this problem

oltre 2 anni 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...

oltre 2 anni ago | 0