photo

John Pryce


Cardiff University

Last seen: 6 månader ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
MATLAB Answers

5 Questions
0 Answers

Cody

0 Problems
8 Solutions

RANK
200 952
of 300 369

REPUTATION
0

CONTRIBUTIONS
5 Questions
0 Answers

ANSWER ACCEPTANCE
60.0%

VOTES RECEIVED
0

RANK
 of 20 936

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
43 541
of 168 436

CONTRIBUTIONS
0 Problems
8 Solutions

SCORE
90

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 2
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Classifying things into kinds
Increasingly often I want to do the following, so I want a simple vectorised way to do it - no "for" loops. I have n things. Ea...

nästan 5 år ago | 1 answer | 0

1

answer

Question


"set-theory" class
Has anyone implemented a class that implements sets, as in set theory, more neatly than MATLAB does at present? Set operations ...

ungefär 6 år ago | 0 answers | 0

0

answers

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

ungefär 7 år ago

Question


Point me to documentation of ReadYaml()
I am reading YAML files, and have been given some code that does this by calling data = yaml.ReadYaml('somefile'); It wo...

mer än 7 år ago | 1 answer | 0

1

answer

Question


How do I delete all annotations on a figure but not do clf?
How do I delete all annotations on a Figure? I do not want to do "clf" since that loses attributes that I want to keep. Doing ...

mer än 8 år ago | 1 answer | 0

1

answer

Solved


Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

mer än 10 år ago

Question


Problems with making graphics figures to include in documents
My need: Matlab to create figures for including in articles I'm writing. I use LaTeX with PdfTeX. So I prefer Matlab to convert ...

mer än 10 år ago | 1 answer | 0

1

answer

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

ungefär 13 år 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 ...

ungefär 13 år 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. Example...

ungefär 13 år ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

ungefär 13 år 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...

ungefär 13 år 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 ...

ungefär 13 år ago