Community Profile

photo

Jan


Last seen: Today

149 2011 年以降の合計貢献数

Matlab user since University. Interested in simulations, data handling and visulation.

連絡する

Jan's バッジ

  • First Review
  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer
  • Scavenger Finisher
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...

3ヶ月 前

解決済み


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

約1年 前

解決済み


Birthday cake
It's Cody's 5th birthday, and you've been tasked with putting the candles on the cake. Your goal is to maximize the distance bet...

約1年 前

解決済み


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

約1年 前

解決済み


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

約1年 前

解決済み


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

約1年 前

回答済み
Saving an array of images as an 'Image Stack'
According to the matlab documentation you can store multiple images to a single file as follows: imwrite(im1,'myMultipageFi...

3年以上 前 | 2

解決済み


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

3年以上 前

質問


Why is there an out of memory error despite memory() stating there is enough?
I have the following code: data(ind) = data(ind) + shift; data(~ind) = data(~ind) - shift; The first line crashes wit...

4年以上 前 | 2 件の回答 | 0

2

回答

質問


Why does adding a specific directory to Matlab path cause the save function to slowdown?
I'm having the following problem: in my application I'm storing a few hundred files. Lately, I notice that the save function has...

5年以上 前 | 1 件の回答 | 1

1

回答

回答済み
Help in Installing MATLAB2014(32 bit) in Ubuntu14.04(64bit)
There does not seem to be a 32-bit Linux release of that Matlab version (see <http://www.mathworks.com/support/sysreq/release201...

5年以上 前 | 0

解決済み


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

約6年 前

解決済み


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

約6年 前

解決済み


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

約6年 前

解決済み


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

約6年 前

解決済み


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

約6年 前

解決済み


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

6年以上 前

解決済み


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

6年以上 前

解決済み


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

6年以上 前

回答済み
How to determine size of checkbox
To answer my own question: One can use the following code which uses only Matlab routines: dpi = get(0, 'ScreenPixelsPer...

7年弱 前 | 0

| 採用済み

質問


How to determine size of checkbox
I am having some troubling positioning a checkbox in a UI. I have (programmatically) added a number of rows of checkboxes to a f...

7年弱 前 | 3 件の回答 | 0

3

回答

解決済み


Hackathon: the beginnings
I am thinking of a number between 1 and 10000... can you guess what this number is? *Description* The test suite has rando...

7年以上 前

解決済み


Lose control
Remove all characters that are below space in ASCII value.

7年以上 前

解決済み


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

7年以上 前

解決済み


Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

7年以上 前

解決済み


Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...

7年以上 前

解決済み


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

7年以上 前

解決済み


Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

7年以上 前

解決済み


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

7年以上 前

解決済み


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

7年以上 前

Load more