Community Profile

photo

Felipe BM


Inatel

Last seen: mehr als 3 Jahre vor Aktiv seit 2017

Statistiken

All
  • First Review
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How to set the width of a figure and let the height as 'auto' when exporting using the editor
When I use the 'Export Setup' at Matlab, I can set the width to any value and then leave the height as 'Auto' so it's automatica...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Gelöst


High school cafeteria
Given an input vector of positive integers, return a row vector with the primes first (in increasing order) and the composites n...

mehr als 6 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

mehr als 6 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


Determine the square root
Determine the square root of the value the user has entered, n.

mehr als 6 Jahre vor

Gelöst


Array of Ones
Create a 100 X 100 array of ones.

mehr als 6 Jahre vor

Gelöst


07 - Common functions and indexing 1
Define _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...

mehr als 6 Jahre vor

Gelöst


Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

fast 7 Jahre vor

Gelöst


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

fast 7 Jahre vor

Gelöst


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

fast 7 Jahre vor

Gelöst


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

fast 7 Jahre vor

Gelöst


Magic!
Check whether the input matrix is a normal magic square: <http://en.wikipedia.org/wiki/Magic_square> Output the logical va...

fast 7 Jahre vor

Gelöst


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

fast 7 Jahre vor

Gelöst


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

fast 7 Jahre vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

fast 7 Jahre vor

Gelöst


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

fast 7 Jahre vor

Gelöst


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

fast 7 Jahre vor