photo

Chris A


Last seen: 3年以上 前 2012 年からアクティブ

Followers: 0   Following: 0

Based in Houston, TX. I offer consulting services in Matlab. I have 20 years experience working in the energy and financial industries. Professional Interests: Matlab, C++, F#, GPU programming

統計

MATLAB Answers

0 質問
9 回答

ランク
7,323
of 300,780

評判
6

コントリビューション
0 質問
9 回答

回答採用率
0.00%

獲得投票数
1

ランク
 of 21,086

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 171,018

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • Knowledgeable Level 1
  • First Answer

バッジを表示

Feeds

表示方法

回答済み
basic matrix creation question
Try changing the last line to r_n = [r_1' r_2' r_3' r_4' r_5' r_6'];

約13年 前 | 0

| 採用済み

回答済み
find common elements of two arrays
a=[5; 7; 3; 1; 8; 6; 2]; b=[3; 9; 0]; d=repmat(a,1,numel(b)) - repmat(b', numel(a),1); [~,i]=min(abs(d)); horzcat(b, a(i))...

約13年 前 | 1

回答済み
Logical Arrays and for statements
See if this works: CNccm(i,:) = transpose((rcontr(:,i)) <= r(i,1)); % Need to make a ...

約13年 前 | 0

回答済み
creating a function to output the invert the numbers in an array
A = [ 1 2 3 4 5 6]'; b=reshape(sortrows(horzcat(A, ((numel(A):-1:1)')), [2]),[],1); b(1:6),

約13年 前 | 0

回答済み
Is there something like 'array colon'? in other words how can I apply colon operator to all the elements of an array (please read the text below so my question will make sense)?
Here is one way to do this: A = [1 10 16 23]; res=reshape(repmat((-3:2)',1,numel(A))+repmat(A,6,1),[],1);

約13年 前 | 0

回答済み
How to do indexing without moving to a new variable ?
Does this work? m = [5 4 3 2 7 1 6 8 9 10]; sum(sort(m)'.*vertcat(ones(numel(m)-numel(m)/2,1),zeros(numel(m)/2,1))), ...

約13年 前 | 0

回答済み
How to transform these three nested FOR loops into a PARFOR loop?
Here is a possible solution: A=sparse(m,n) indexes=tril(reshape(1:T*T, T, T)); u1=indexes(indexes>0); v1=[0:T*T:N*...

約13年 前 | 0

回答済み
Corrcoef and R^2 definition give different R^2 values
Try the following code: a=rand(100,1); c=10*a; corrcoef(a,c); % This should be the matrix [1 1; 1 1] % Why sho...

約13年 前 | 0

回答済み
vectorize a for loop
start_peak_hour = [3 10 20 50]'; end_peak_hour = [5 14 27 70]'; % always same size as start_peak_hour peak_size = end_...

約13年 前 | 0