Community Profile

photo

Greg


2012년부터 활동

Followers: 0   Following: 0

연락

통계

All
  • First Review
  • Thankful Level 1
  • Solver

배지 보기

Feeds

보기 기준

질문


The art of Full-sceening
TLDR: F11 for Matlab figure ? Hi people of the internet, As you may know, one of the solution to make a clean figure is:...

10년 초과 전 | 답변 수: 1 | 1

1

답변

문제를 풀었습니다


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

대략 11년 전

답변 있음
'Set' function applied on handle and vector of handle
Okay just found it! A = [11 0; 22 0; 33 0]; set(h,{'XData'},num2cell(A,2)) And by the way thanks Walter...

대략 11년 전 | 1

| 수락됨

질문


'Set' function applied on handle and vector of handle
Hi everyone! Here is a quick shot of a current optimization problem: Let's assume we have a vertical vector of handles. Each...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


The art of delaying (discrete)
Hi everyone Simple newbi question on discrete signals. How can a discrete signal of sample time T can be delayed by a delay =...

대략 11년 전 | 답변 수: 2 | 0

2

답변

답변 있음
Incorect output from the "fileparts" function
Oooookay well done guys. Indeed this code was executed on Windows 7. For the record I simply added this line before, in order...

11년 초과 전 | 1

질문


Incorect output from the "fileparts" function
Hi everyone Here is a quick shot of my current problem: I simply don't understand why the following commands: Filename...

11년 초과 전 | 답변 수: 3 | 0

3

답변

문제를 풀었습니다


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

11년 초과 전

문제를 풀었습니다


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

11년 초과 전

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

11년 초과 전

문제를 풀었습니다


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

11년 초과 전

문제를 풀었습니다


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

11년 초과 전

문제를 풀었습니다


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

11년 초과 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

11년 초과 전

문제를 풀었습니다


radius of a spherical planet
you just measured its surface area, that is the input.

11년 초과 전

문제를 풀었습니다


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

11년 초과 전

문제를 풀었습니다


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

11년 초과 전

문제를 풀었습니다


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

11년 초과 전

문제를 풀었습니다


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

11년 초과 전

문제를 풀었습니다


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

11년 초과 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

11년 초과 전

문제를 풀었습니다


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

11년 초과 전