Community Profile

photo

C.J. Harris


Last seen: 1년 초과 전 2011년부터 활동

Followers: 0   Following: 0

연락

통계

All
  • First Review
  • 3 Month Streak
  • Knowledgeable Level 4
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

답변 있음
Division with negative powers
u = [0 0 1 0 1]; v = [1 4 4 4 3]; Result = filter(u,v,[1, zeros(1,7)]) ans = 0 0 1 -4 13 -40 121 -364

대략 6년 전 | 1

| 수락됨

답변 있음
How to add 'Description' to '.jpeg'?
If you're only interested in the 'Comment' field, then you can set it directly: imwrite(i,'figC.jpg', 'Comment', 'Made with...

대략 6년 전 | 0

| 수락됨

답변 있음
How to make array with first values of matrix
% Input A = [1 2 3 4 5 6 7 8 9 10;2 2 3 3 4 5 5 2 3 3]'; % Result B = A([boolean(1); diff(A(:,2))~=0],1);

대략 6년 전 | 0

답변 있음
How do I read strings with textscan?
Have you tried specifying the delimiter? formatSpec = '%d %s %f %f %f %f %f %f %f %f %f'; C = textscan(fid,formatSpec,15...

대략 6년 전 | 0

답변 있음
Help with dec2hex (case sensitive and Zero)
You could change the line: CarsHex=dec2hex(CarsDecimal); to: CarsHex=lower(arrayfun(@(x) (dec2hex(x)), CarsDecimal,...

대략 6년 전 | 1

| 수락됨

답변 있음
not enough input argument
Your code, which I've included below takes two inputs, x and y, however you don't use the first input 'x' anywhere in your code,...

대략 6년 전 | 0

답변 있음
Why this code is error???
Because given your definitions of x and y, the expression _3+(-x)+(-y)_ results in [3 1 -1 -3], and you cannot calculate the fac...

대략 6년 전 | 0

문제를 풀었습니다


Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

6년 초과 전

문제를 풀었습니다


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

6년 초과 전

문제를 풀었습니다


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

6년 초과 전

문제를 풀었습니다


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

6년 초과 전

문제를 풀었습니다


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

6년 초과 전

문제를 풀었습니다


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

6년 초과 전

문제를 풀었습니다


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

6년 초과 전

문제를 풀었습니다


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

6년 초과 전

문제를 풀었습니다


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

6년 초과 전

문제를 풀었습니다


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

6년 초과 전

문제를 풀었습니다


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

6년 초과 전

문제를 풀었습니다


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

6년 초과 전

문제를 풀었습니다


surface of a spherical planet
you just discovered its circumference, that is the input.

6년 초과 전

문제를 풀었습니다


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

6년 초과 전

문제를 풀었습니다


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

6년 초과 전

문제를 풀었습니다


Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

6년 초과 전

문제를 풀었습니다


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

6년 초과 전

문제를 풀었습니다


Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

6년 초과 전

문제를 풀었습니다


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

6년 초과 전

문제를 풀었습니다


Television Screen Dimensions
Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

6년 초과 전

문제를 풀었습니다


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

6년 초과 전

문제를 풀었습니다


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

6년 초과 전

문제를 풀었습니다


5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...

6년 초과 전

더 보기