Raviteja
Followers: 0 Following: 0
Statistik
RANG
519
of 302.082
REPUTATION
154
BEITRÄGE
0 Fragen
1 Antwort
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
74
RANG
of 21.533
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
Matlab jokes or puns
Search for "Love". It will suggest you to "Solve". <</matlabcentral/answers/uploaded_files/58658/matlab%20pun.png>>
fast 10 Jahre vor | 74
Gelöst
Polygonal numbers
The task of <http://www.mathworks.co.uk/matlabcentral/cody/problems/5 Problem 5> is to calculate triangular numbers. By playing ...
mehr als 10 Jahre vor
Gelöst
Double colon operator: Increment by x
* Construct a row array countValues from 0 to 25, elements incremented by incrementValue. Ex: If incrementValue is 5, countVa...
mehr als 10 Jahre vor
Gelöst
Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...
mehr als 10 Jahre vor
Gelöst
Indexing an array element
* Assign currentStudent with the second element of array testScores. _Reminder: Array indexing starts with 1._
mehr als 10 Jahre vor
Gelöst
Character variable: Compass direction
* Assign compassDirection with sensorReading's value. Both are character variables.
mehr als 10 Jahre vor
Gelöst
Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...
mehr als 10 Jahre vor
Gelöst
Integer indexing array: Shift left
Write a *single* statement that shifts row array attendanceValues one position to the left. The rightmost element in attendanceV...
mehr als 10 Jahre vor
Gelöst
Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.
mehr als 10 Jahre vor
Gelöst
Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...
mehr als 10 Jahre vor
Gelöst
Coordinate geometry
Assign pointsDistance with the distance between point (x1, y1) and point (x2, y2). The distance is calculated by: Distance =...
mehr als 10 Jahre vor
Gelöst
Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...
mehr als 10 Jahre vor
Gelöst
Relational operators: Guessing game
Row array userGuess contains a sequence of user guesses. Create a logical indexing array correctGuess with true in each location...
mehr als 10 Jahre vor
Gelöst
Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...
mehr als 10 Jahre vor
Gelöst
Arithmetic array operations
* Add x to each element of array temperatureReadings.
mehr als 10 Jahre vor
Gelöst
Construct an array
* Construct an row array named observedValues with elements sensorReading1, sensorReading2, and sensorReading3.
mehr als 10 Jahre vor
Gelöst
Computing wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...
mehr als 10 Jahre vor
Gelöst
Indexing the last element: Print queue
* Delete the last element of row array printQueue.
mehr als 10 Jahre vor
Gelöst
Logical indexing: Player scores
Player 1 and player 2 take turns playing a game. Row array gameScores contains the scores of player 1, then player 2, then playe...
fast 11 Jahre vor
Gelöst
What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...
fast 11 Jahre vor
Gelöst
Tic Tac Toe FTW
Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...
fast 11 Jahre vor
Gelöst
Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...
fast 11 Jahre vor
Gelöst
Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...
fast 11 Jahre vor
Gelöst
Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...
fast 11 Jahre vor
Gelöst
Back to basics 15 - Benchmark
Covering some basic topics I haven't seen elsewhere on Cody. Return an array of the benchmark values for MATLAB.
fast 11 Jahre 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...
fast 11 Jahre vor
Gelöst
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
fast 11 Jahre vor
Gelöst
Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...
fast 11 Jahre vor





