解決済み


Return area of square
Side of square=input=a Area=output=b

約3年 前

解決済み


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

約3年 前

解決済み


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

約3年 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

約3年 前

解決済み


Hanging cable - 02
previous problem - <https://www.mathworks.com/matlabcentral/cody/problems/45373-hanging-cable-01> The height of the poles...

約3年 前

解決済み


Make blocks of color
Given a (Nx3) sequence of RGB colors, I want to create a (numRowBlocks x numColBlocks x 3) image comprising (blockSize x blockSi...

約3年 前

解決済み


Change a specific color in an image
The ability to change colors can be a useful tool in image processing. Given an m x n x 3 array (much like CData in images), fin...

約3年 前

解決済み


Convert this color - RGB Vector to Hex String
Given a 3 element RGB vector corresponding to a color (given by the MATLAB color spec <http://www.mathworks.com/help/matlab/ref/...

約3年 前

解決済み


Draw a '4' in a zero matrix!

約3年 前

解決済み


Draw a '6' in a zero matrix!

約3年 前

解決済み


Draw a '9' in a zero matrix!

約3年 前

解決済み


Draw a '7' in a zero matrix!

約3年 前

解決済み


Draw a '8' in a zero matrix!

約3年 前

解決済み


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

約3年 前

解決済み


Draw a '3' in a zero matrix!

約3年 前

解決済み


Draw a '2' in a zero matrix!

約3年 前

解決済み


Total energy

約3年 前

解決済み


Potential energy calculation

約3年 前

解決済み


Kinetic energy calculation

約3年 前

解決済み


Laws of motion 6

約3年 前

解決済み


Laws of motion 5

約3年 前

解決済み


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

約3年 前

解決済み


Laws of motion 3

約3年 前

解決済み


Laws of motion 2

約3年 前

解決済み


Laws of motion 1

約3年 前

解決済み


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

約3年 前

解決済み


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

約3年 前

解決済み


Convert Volume Mixing Ratio to Density
The partial pressure of a constituent gas species of the atmosphere can be expressed in parts per million by volume. For exampl...

約3年 前

解決済み


Snow Accumulation and Structural Risks To Residential Properties
The density of snow depends on the amount of liquid water it contains: Dry Snow is about 50 kg/m^3 Wet Snow is about 200 kg/m^...

約3年 前

解決済み


Partial Pressure of Water Vapor from Relative Humidity
Buck (1996, 1981) published the following constants for the saturation pressure of water*: 6.1121 (mb) The saturation pressur...

約3年 前

さらに読み込む