Solved

Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

7 mois ago

Solved

Back to basics 19 - character types
Covering some basic topics I haven't seen elsewhere on Cody. Return the number of punctuation characters in the input variabl...

7 mois ago

Solved

07 - Common functions and indexing 3
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Create the variable _eMat2_, which is equal to _eMat_ with th...

7 mois ago

Solved

Sum the entries of each column of a matrix which satisfy a logical condition.
Given a numeric matrix A and a logical array L of the same size as A, return a row vector S containing the columnwise sums of th...

7 mois ago

Solved

When can one be the Life Member of the IEEE?
Consult the site http://en.wikipedia.org/wiki/Ieee from where it can be seen that IEEE Members who have reached the age of 65 an...

7 mois ago

Solved

matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...

7 mois ago

Solved

Getting the absolute index from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

7 mois ago

Solved

Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

7 mois ago

Solved

Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

7 mois ago

Solved

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

7 mois ago

Solved

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

7 mois ago

Answered
find the entries in a set of elements
A = [35,46, 78, 23, 5, 16, 81, 3, 35]; a = A(7); % to find the seventh entry of A b = sum(A([3 5])); % to find the sum of thir...

8 mois ago | 0

Answered
[Maximum Timing for Simulation]
I'm not sure about the maximum time that you can specify for a model. However If you want to run the model continuously until y...

8 mois ago | 0

| accepted

Answered
Extraction of individual matrix from cell array
After loading the mat file,I guess you would probably wanna do this. for i=1:numel(Microtrips),eval(['MT' num2str(x) ' = Mic...

8 mois ago | 0

| accepted

Solved

02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

9 mois ago

Solved

Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

9 mois ago

Solved

Determine the length of a string of characters
Determine the length of a string of characters

9 mois ago

Solved

04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...

9 mois ago

Solved

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

9 mois ago

Solved

06 - Matrix Equations 1
Define the vectors _aVec_ and _bVec_ and the matrix _aMat_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http:/...

9 mois ago

Solved

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

9 mois ago

Solved

Variable_Addition
be able to add any variable to the number one

9 mois ago

Solved

Sum of integers numbers
Sum of the numbers from 1 to 100

9 mois ago

Solved

Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

9 mois ago

Solved

Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

9 mois ago

Solved

UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

9 mois ago

Solved

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

9 mois ago

Solved

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

9 mois ago

Solved

factorial of a number x
Factorial of a number x

9 mois ago

Solved

If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

9 mois ago

Load more