Resuelto


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

más de 1 año hace

Resuelto


what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

más de 1 año hace

Resuelto


Convert Hard Drive marketing sizes to actual data sizes
Hard drive sizes are typically marketed using the decimal meaning of prefixes, whereas RAM uses binary meanings. For example: ...

más de 1 año hace

Resuelto


Divisible by 21
Write a function to determine if a number is divisible by 21.

más de 1 año hace

Resuelto


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

más de 1 año hace

Resuelto


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

más de 1 año hace

Resuelto


number play

más de 1 año hace

Resuelto


non-repitition of numbers in a vector

más de 1 año hace

Resuelto


Product of elements in a column

más de 1 año hace

Resuelto


Double the length of the vector

más de 1 año hace

Resuelto


Half the length of the vector

más de 1 año hace

Resuelto


find the index of a number

más de 1 año hace

Resuelto


Seperate 2nd column in a matrix

más de 1 año hace

Resuelto


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

más de 1 año hace

Resuelto


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

más de 1 año hace

Resuelto


Convert from integer to binary
if true % decimalToBinaryVector(x) end

más de 1 año hace

Resuelto


Create tangent function out of sin and cos
Please don't use tan(x) directly

más de 1 año hace

Resuelto


find the 'M'
for an input x, return 1 at the location of the letter 'M'

más de 1 año hace

Resuelto


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

más de 1 año hace

Resuelto


determine if
determine if the elements of a matrix is a nan and return true

más de 1 año hace

Resuelto


Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...

más de 1 año hace

Resuelto


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

más de 1 año hace

Resuelto


How to permute given 3d matrix?
A(:,:,1)=[1 3] A(:,:,2)=[2 2] A(:,:,3)=[4 3] Change rows to columns and columns to rows, similar to transpose. Resul...

más de 1 año hace

Resuelto


Where is 1?
There is a 3d matrix [A] that consist of many zeros and only one. A=zeros(100,100,100); i=randi(100); j=randi(100); k=randi(...

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0. Use matrix A as a input.

más de 1 año hace

Resuelto


Odd times even numbers in a matrix
First count the number of odd numbers in x, then the number of even. Return their product. example: x = [1 2] One odd ...

más de 1 año hace

Resuelto


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

más de 1 año hace

Resuelto


Add the even numbers
Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

más de 1 año hace

Resuelto


Determinate if day D is a date that occurs during Daylight Saving Time in Italy
<https://en.wikipedia.org/wiki/Summer_Time_in_Europe>

más de 1 año hace

Cargar más