photo

Federico


TU Berlin

自 2011 起处于活动状态

Followers: 0   Following: 0

消息

统计学

All
MATLAB Answers

6 个提问
1 个回答

Cody

1 个问题
13 个答案

排名
12,068
of 300,781

声誉
2

贡献数
6 个提问
1 个回答

回答接受率
33.33%

收到投票数
2

排名
 of 21,088

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名
27,992
of 171,018

贡献数
1 个问题
13 个答案

评分
185

徽章数量
3

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • First Review
  • Thankful Level 1
  • Quiz Master
  • Creator
  • Solver

查看徽章

Feeds

排序方式:

提问


Customizing tab completion
I have a function that accepts paired name/value arguments, e.g. solve(A,b,'accuracy',1e-13,'method','LU','threshold',1e-...

14 years 前 | 1 个回答 | 0

1

个回答

问题


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

14 years 前 | 9 | 551 个解题者

已解决


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

14 years 前

已解决


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

14 years 前

已解决


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

14 years 前

已回答
return value optimization when overwriting
It seems that you can indeed, see http://blogs.mathworks.com/loren/2007/03/22/in-place-operations-on-data/? I cannot understa...

14 years 前 | 0

提问


overloading x=[a b; c d]
Suppose a,b,c,d are instances of a custom Matlab class. I can redefine [a b] and [a;b] by overloading horzcat() and vertcat(); h...

14 years 前 | 1 个回答 | 2

1

个回答

已解决


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

14 years 前

已解决


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

14 years 前

已解决


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

14 years 前

已解决


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

14 years 前

已解决


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

14 years 前

已解决


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

14 years 前

已解决


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

14 years 前

已解决


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

14 years 前

已解决


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

14 years 前

已解决


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

14 years 前

提问


return value optimization when overwriting
Consider the following scenario. function A=frobnicate(A) A(1)=1; end X=zeros(2000,2000); X=frobnicate(X); ...

14 years 前 | 2 个回答 | 0

2

个回答

提问


Detecting "a and b are the same variable" in O(1) via pointers
I know Matlab uses copy-on-write; that is, if I assign |a=b| and then never modify |a| and |b|, they point to the same chunk of ...

14 years 前 | 2 个回答 | 0

2

个回答

提问


GLOBAL could be very inefficient
I am using a GLOBAL statement inside an if command, so that I import the global variable into the local namespace only if it is ...

14 years 前 | 1 个回答 | 0

1

个回答

提问


GLOBAL could be very inefficient
I am using the GLOBAL instruction inside an if statement, to create a global variable only if it is needed. However, the code an...

14 years 前 | 0 个回答 | 0

0

个回答