![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3114926_1522093551779_DEF.jpg)
John Pryce
Cardiff University
Followers: 0 Following: 0
Statistiques
RANG
247 205
of 292 708
RÉPUTATION
0
CONTRIBUTIONS
5 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
60.0%
VOTES REÇUS
0
RANG
of 19 934
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
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...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
"set-theory" class
Has anyone implemented a class that implements sets, as in set theory, more neatly than MATLAB does at present? Set operations ...
presque 5 ans il y a | 1 réponse | 0
0
réponseA résolu
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:...
presque 6 ans il y a
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...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
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 ...
plus de 7 ans il y a | 1 réponse | 0
1
réponseA résolu
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...
environ 9 ans il y a
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 ...
environ 9 ans il y a | 1 réponse | 0
1
réponseA résolu
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 ...
plus de 11 ans il y a
A résolu
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 ...
plus de 11 ans il y a
A résolu
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...
plus de 11 ans il y a
A résolu
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...
plus de 11 ans il y a
A résolu
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...
plus de 11 ans il y a
A résolu
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 ...
plus de 11 ans il y a