Resuelto


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

casi 11 años hace

Resuelto


rounding numbers toward zero
round any number toward zero ex. 4.5=4 4.7=4 5.2=5

casi 11 años hace

Resuelto


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

casi 11 años hace

Resuelto


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

casi 11 años hace

Resuelto


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

casi 11 años hace

Resuelto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

casi 11 años hace

Resuelto


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

casi 11 años hace

Resuelto


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

casi 11 años hace

Resuelto


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

casi 11 años hace

Resuelto


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

casi 11 años hace

Resuelto


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

casi 11 años hace

Resuelto


Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

casi 11 años hace

Resuelto


UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.14
Solve 3^x = 17

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

alrededor de 11 años hace

Resuelto


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

alrededor de 11 años hace

Resuelto


Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

alrededor de 11 años hace

Resuelto


Permutations of input vector
Find and output all permutations of given vector

alrededor de 11 años hace

Resuelto


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

alrededor de 11 años hace

Resuelto


Find smallest number to leave a remainder of 1
given a vector of numbers, find the smallest number to be divisible by all of them with a remainder of 1. Note: input numbers wi...

alrededor de 11 años hace

Resuelto


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands

alrededor de 11 años hace

Resuelto


Output a vector which is table of 9
Output a vector which is table of 9

alrededor de 11 años hace

Cargar más