Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

1 month ago

Solved

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.

1 month ago

Solved

Area of a circle

Given the radius x, y would be the area of a circle. Pi = 3.1416

1 month ago

Solved

Find the dimensions of a matrix

Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

1 month ago

Solved

Sum all integers from 1 to 2^n

Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

1 month ago

Answered

How to creating MAT file

This is working on my system: clear all clc % Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = 8500; % mass...

How to creating MAT file

This is working on my system: clear all clc % Parameter Massa m1 = 8095; % massa train set 1 dalam kg m2 = 8500; % mass...

1 month ago | 0

| accepted

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

1 month ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1 month ago

Solved

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

1 month ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

1 month ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 month ago

Question

Why projinv() function shows this error? How to solve it?

I want to add shapefile behind .tiff image and have came across this code: https://in.mathworks.com/matlabcentral/answers/8865-g...

3 years ago | 0 answers | 0

Question

How to read pixel from geotiff file by latitude and longitude?

I have converted AOD product of MOD04 .hdf file to geotiff. Now I want to get the data of certain regions. I have latitude and l...

3 years ago | 1 answer | 0