John Pryce
Cardiff University
Followers: 0 Following: 0
Statistik
RANG
153.366
of 293.485
REPUTATION
0
BEITRÄGE
5 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
60.0%
ERHALTENE STIMMEN
0
RANG
of 20.033
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 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
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...
mehr als 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
"set-theory" class
Has anyone implemented a class that implements sets, as in set theory, more neatly than MATLAB does at present? Set operations ...
fast 5 Jahre vor | 0 Antworten | 0
0
AntwortenGelöst
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:...
fast 6 Jahre vor
Frage
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...
mehr als 6 Jahre vor | 1 Antwort | 0
1
AntwortFrage
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 ...
mehr als 7 Jahre vor | 1 Antwort | 0
1
AntwortGelöst
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...
etwa 9 Jahre vor
Frage
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 ...
etwa 9 Jahre vor | 1 Antwort | 0
1
AntwortGelö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 ...
fast 12 Jahre vor
Gelöst
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 ...
fast 12 Jahre vor
Gelöst
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...
fast 12 Jahre vor
Gelöst
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...
fast 12 Jahre 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...
fast 12 Jahre vor
Gelöst
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 ...
fast 12 Jahre vor