photo

rob


King's College London

Last seen: 9 months ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

All
MATLAB Answers

3 Questions
1 Answer

Cody

0 Problems
13 Solutions

RANK
39,259
of 300,338

REPUTATION
1

CONTRIBUTIONS
3 Questions
1 Answer

ANSWER ACCEPTANCE
66.67%

VOTES RECEIVED
1

RANK
 of 20,922

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
32,925
of 168,149

CONTRIBUTIONS
0 Problems
13 Solutions

SCORE
140

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Printing string as a variable
I have a table (mytable)with 'm' rows and I am trying to add multiple empty columns with names that are in ascending numerical o...

8 years ago | 1 answer | 0

1

answer

Answered
Indices of highest values in a vector when values are repeated
I was able to find a solution with assistance form a comment posted elsewhere: thresh = 0.5 B = sort(A,1,'descend') ...

8 years ago | 0

Question


Indices of highest values in a vector when values are repeated
Hi, I have used the following code to find the top 50% highest values in vector A: top = round(0.5*length(A)) c = fl...

8 years ago | 1 answer | 0

1

answer

Question


Replacing only certain instances of text within matlab character array
I have a large character array in matlab: 'lineDataA' - containing many different numbers. I would like to find and replace...

9 years ago | 1 answer | 1

1

answer

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

9 years ago

Solved


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

9 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

9 years ago

Solved


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

9 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago