Community Profile

Brandon Kuczenski


University of California

Actif depuis 2001

Followers: 0   Following: 0

Contact

Postdoctoral Researcher, Environmental Science and Management
Professional Interests: System Engineering, Technology Assessment, Industrial Ecology

Statistiques

All
  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Thankful Level 1
  • Quiz Master
  • Speed Demon
  • Creator
  • Promoter
  • Commenter
  • Solver

Afficher les badges

Feeds

Afficher par

A soumis


tarjan(e)
Tarjan's strongly connected component algorithm

environ 8 ans il y a | 4 téléchargements |

Thumbnail

A résolu


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

presque 10 ans il y a

Problème


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

presque 10 ans il y a | 6 | 1250 solveurs

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

presque 10 ans il y a

Question


How do I add a value to a field in each element of a struct array?
Say I have a struct array with a numeric field: >> a=struct('bar',{47 52}) I want to increment that field across each el...

presque 10 ans il y a | 1 réponse | 0

1

réponse

A répondu
@struct method not being found
I have been advised by Matlab support that this is expected behavior, because function_handle has higher precedence than struct-...

environ 10 ans il y a | 0

| A accepté

Question


@struct method not being found
I have written a number of extensions to the Matlab struct type, which I have stored in a directory called @struct. One of thes...

environ 10 ans il y a | 1 réponse | 2

1

réponse

A soumis


Capitalize strings using titlecase
Capitalize the first letter of each word in a string or cell array of strings

plus de 10 ans il y a | 1 téléchargement |

A soumis


Find nearest-matching string from a set
Computes shortest distance between a key string and a set of strings to find the nearest match.

plus de 10 ans il y a | 2 téléchargements |

Problème


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

plus de 11 ans il y a | 6 | 1533 solveurs

A résolu


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

plus de 11 ans il y a

A résolu


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

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


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

plus de 11 ans il y a

A résolu


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

plus de 11 ans il y a

A résolu


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

plus de 11 ans il y a

A résolu


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

plus de 11 ans il y a

A résolu


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

presque 12 ans il y a

A résolu


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

presque 12 ans il y a

A résolu


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

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

presque 12 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

presque 12 ans il y a

A résolu


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

presque 12 ans il y a

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

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

presque 12 ans il y a

A 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 12 ans il y a

Charger plus