Statistik
0 Probleme
86 Lösungen
RANG
N/A
of 301.709
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.394
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.
etwa ein Monat vor
Gelöst
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
etwa ein Monat vor
Gelöst
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
etwa ein Monat vor
Gelöst
Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...
etwa ein Monat vor
Gelöst
Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...
etwa ein Monat vor
Gelöst
Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33
etwa ein Monat vor
Gelöst
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
etwa ein Monat vor
Gelöst
Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...
etwa ein Monat vor
Gelöst
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
etwa ein Monat vor
Gelöst
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...
etwa ein Monat vor
Gelöst
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
etwa ein Monat vor
Gelöst
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to find the logical indices o...
etwa ein Monat 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...
etwa ein Monat vor
Gelöst
Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...
etwa ein Monat vor
Gelöst
Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...
etwa ein Monat vor
Gelöst
Determine the square root
Determine the square root of the value the user has entered, n.
etwa ein Monat vor
Gelöst
Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...
etwa ein Monat vor
Gelöst
radius of a spherical planet
You just measured its surface area, that is the input.
etwa ein Monat vor
Gelöst
Create a Standard Size Vector
Given an input x, create a row vector y from 1 to x with 5 elements.
etwa ein Monat vor
Gelöst
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
etwa ein Monat vor
Gelöst
Square a Number
Given an input x, return y, which is equal to the square of x.
etwa ein Monat vor
Gelöst
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
etwa ein Monat vor
Gelöst
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 ...
etwa ein Monat vor

