Community Profile

photo

Peng Liu


Stanford University

Last seen: 4달 전 2013 이후 활성

Statistics

All
  • Cody 5th Anniversary Author
  • Triathlon Participant
  • 3 Month Streak
  • Thankful Level 1
  • Likeable
  • Project Euler I
  • 5-Star Galaxy Level 1
  • First Review
  • First Submission
  • Cody5 Easy Master
  • Famous
  • Indexing II Master

배지보기

Content Feed

보기 기준

질문


What makes the difference between griddata and griddatan?
Since griddatan is the n-d generalization of griddata, I assume that for 2-d scenarios, they should have identical behavior. Thi...

5년 이하 전 | 답변 수: 0 | 1

0

답변

질문


Why MATLAB has a confusing function name such as griddata (or griddatan)?
I am really confused by the function names *griddata* and *griddatan*, because these function names are prefixed by *grid* where...

5년 이하 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to code a function of the Probability mass function of the Poisson binomial distribution
You may use nchoosek. F_k is nothing but a k-element subset of {1,2,3,...,n}. The sum is over all possible F_k, which can be gen...

5년 이상 전 | 0

| 수락됨

답변 있음
is there a built in function to get minimum nr of bits for an integer ?
Not floor(log2(x)) + 1 but ceil(log2(x)) is correct

5년 이상 전 | 0

답변 있음
discrete joint probability distribution
You need to compute the histogram count for every pair (theta_i, v_j), and then normalize it by the sample size. Thus, histcount...

5년 이상 전 | 2

| 수락됨

답변 있음
What's the reason for different memory consumption for sparse row and column vectors?
% The minimum data storage requirement formula for a double m x n sparse % matrix with nnz non-zero elements, including th...

5년 이상 전 | 1

| 수락됨

질문


What's the reason for different memory consumption for sparse row and column vectors?
See below: >> a = sparse(1e12,1); >> b = sparse(1,1e9); >> whos a b Name Size ...

5년 이상 전 | 답변 수: 2 | 0

2

답변

답변 있음
Matlab jokes or puns
Q: How many MATLAB functions are there in the world? A: There is only one MATLAB function called matlabFunction.

5년 이상 전 | 3

답변 있음
The theory of "_mergesimpts" of builtin functions.
It is an undocumented built-in function, which finds unique elements/rows within a specified tolerance. You may find a detailed ...

5년 이상 전 | 0

답변 있음
Can someone help me with my code ? I can not see error.
There is nothing wrong with your code. You just need to save the function vdp1000 as an independent m file with name vdp1000.m a...

약 7년 전 | 0

질문


Trendy urlfilter command to access Chinese website
Hello, As we know, the following Trendy command num = urlfilter(url, target) works for a string type target. However, I...

약 8년 전 | 답변 수: 0 | 0

0

답변

답변 있음
How to add Delay
You may try the *pause* command

9년 이하 전 | 0

질문


How to generate an *M^N* by *N* integer matrix consiting of all possible length N row vectors whose elements are between 0 and M-1?
I need to generate an *M^N* by *N* matrix consisting of all possible length *N* (N>=2) row vectors whose elements are *integer* ...

9년 이하 전 | 답변 수: 2 | 0

2

답변