photo

Matt Shellhammer


Last seen: 2년 초과 전 2020년부터 활동

Followers: 0   Following: 0

통계

MATLAB Answers

3 질문
2 답변

순위
7,211
of 300,379

평판
6

참여
3 질문
2 답변

답변 채택
66.67%

획득한 표
1

순위
 of 20,931

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 168,299

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 2
  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

배지 보기

Feeds

보기 기준

질문


Using #defines within generated C++ code
Is there a way to insert defined values (using #define in an included header file) into MATLAB Coder generated C++ code? For ...

5년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Vectorization of Loops with Matrix Multiplications
%% Example Data t = 252; h = randn(252,2); l = round(0.1 * t,0); %% Loop for i = 1:(l - 1) o_tmp = (h(1:(t-i),:).' * h...

5년 초과 전 | 0

| 수락됨

질문


Can I access an external (const) array within generated C++ code without copying the contents into a local array?
I have been generating code with massive constant arrays in the generated code using MATLAB coder code generation MATLAB to C++ ...

5년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to sum the diagonal numbers and numbers after the diagonal of a matrix
total = 0; for idx = 1:size(a,1) total = total + a(idx,idx); end or sum(a(1:(size(a,1)+1):size(a,1)*size(a,2))) or su...

5년 초과 전 | 1

질문


How can I determine if a script is being run by the codegen -test input parameter?
I would like to avoid running certain lines of code when runing a script that calls a generated mex file (codegen -test or coder...

5년 초과 전 | 답변 수: 2 | 0

2

답변