photo

Bobby Cheng

Last seen: 15 days 前 自 2012 起处于活动状态

Followers: 0   Following: 0

消息

统计学

All
MATLAB Answers

0 个提问
8 个回答

Cody

0 个问题
50 个答案

排名
1,602
of 299,763

声誉
44

贡献数
0 个提问
8 个回答

回答接受率
0.00%

收到投票数
18

排名
 of 20,798

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名
11,185
of 165,797

贡献数
0 个问题
50 个答案

评分
520

徽章数量
3

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • MATLAB Mini Hack 2022 Participant
  • Knowledgeable Level 1
  • First Answer
  • Commenter
  • Speed Demon
  • Solver

查看徽章

Feeds

排序方式:

已回答
Why can't I use crand() in matlab
rand in MATLAB has complex support since R2022a. See the "Random Complex Numbers" example on that documentation page. [SL: hype...

2 months 前 | 0

已回答
Please Help! : Unrecognized function or variable 'crandn'.
Just come across this. A bit slow news. But randn supports generating complex number since R2022a. [SL: hyperlinked the functio...

2 months 前 | 0

已回答
bsxfun vs implicit expansion
Hi Bradley, Just come across this today. To answer you question, you should always use Implicit Expansion instead of bsxfun whe...

11 months 前 | 0

已回答
Toolboxes installation in MATLAB beta for Native Apple Silicon
R2022b beta is now available. With this beta, there is a list of toolboxes that you can test.

3 years 前 | 2

已回答
2022b for apple M1
The R2022b beta for Apple M1 is here. Please visit this page https://www.mathworks.com/support/apple-silicon-r2022b-beta.html

3 years 前 | 0

| 已接受

已回答
Matlab is significantly slower than Julia on simple evaluation
First of all, thank you for creating the benchmark and raising this performance issue. Indeed, we are seeing more and more perfo...

4 years 前 | 13

| 已接受

已回答
expm function problem for stiff matrix
This is a weakness of the scaling and squaring algorithm. Inside EXPM, which you can read the implementation, there are special ...

4 years 前 | 0

已回答
Is there a big error in the method matlab uses to finds sqrtm?
This is an interesting example. It goes to the heart of the issue when computes with floating point arithmetic. First consider t...

10 years 前 | 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]

13 years 前

已解决


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

13 years 前

已解决


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

13 years 前

已解决


Magic!
Check whether the input matrix is a normal magic square: <http://en.wikipedia.org/wiki/Magic_square> Output the logical va...

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

13 years 前

已解决


inner product of two vectors
inner product of two vectors

13 years 前

已解决


Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

13 years 前

已解决


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

13 years 前

已解决


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

13 years 前

已解决


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

13 years 前

已解决


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

13 years 前

已解决


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

13 years 前

已解决


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

13 years 前

已解决


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

13 years 前

已解决


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

13 years 前

已解决


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

13 years 前

已解决


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

13 years 前

已解决


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

13 years 前

已解决


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

13 years 前

已解决


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

13 years 前

已解决


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

13 years 前

已解决


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

13 years 前

加载更多