Feeds
質問
Hi every one, I am a little bit new in matlab I would like to generate directed random graph using Matlab. That is a random directed graph with n nodes . That is How to generate a random network with a certain number of nodes in Matlab
[G]= function(n) . . . return
8年弱 前 | 2 件の回答 | 0
2
回答質問
Hi everybody, I want different scenarios of a vector with 0 and 1 elements. For example v=[0 0 0 0 0 0 0], v=[0 1 0 1 0 1 0 ] , v=[0 1 1 1 1 1 1] and so on. But the first element of vector is fixed and has be zero .
Hi everybody, I want different scenarios of a vector with 0 and 1 elements. For example v=[0 0 0 0 0 0 0]. v=[0 1 0 1 0 1 0 ] ,v...
約10年 前 | 3 件の回答 | 0
3
回答質問
Hi everybody, I encounter with this error message. : ""Attempt to reference field of non-structure array. "" I would be grateful if you could help.
the erorr is in first line: last = Run.steps(1); % index of last sampled dags log_score ...
10年以上 前 | 1 件の回答 | 0
1
回答質問
hi, everyone, we have a vectore v= [ 1 2 6 7 8 9], I want to compute the following : if variable component=1:10 is equal to one component of v then do some calculation like below. how can I do that:
if(........)%%%% what should I write inside if lambda = lambda_uncoup; mue_prior = mue_0; ...
10年以上 前 | 1 件の回答 | 0
1
回答質問
hi friends. we have a vectore v= [ 1 2 6 7 8 9], I want to compute the following : if variable component=1:10 is equal to one component of v then do some calculation like below. how can I do that:
if(........)# what should I write inside if lambda = lambda_uncoup; mue_prior = mue_0; mue_prior = mue_prior([1;parents+1]...
10年以上 前 | 0 件の回答 | 0
0
回答質問
hi friends. we have a vectore v= [ 1 2 6 7 8 9], I want to compute: if variable component=1:10 is equal to one component of v then do some calculation like below. how can I do that:
lambda = lambda_uncoup; mue_prior = mue_0; mue_prior = mue_prior([1;parents+1],1); ...
10年以上 前 | 1 件の回答 | 0
1
回答質問
Hi again friends, How can I rewrite the out put of a program which is structure like Run = theta: {1x10 cell} sigma: {1x10 cell} as a vector. I want the values of theta and sigma as a vector
Run = theta: {1x10 cell} sigma: {1x10 cell}
10年以上 前 | 0 件の回答 | 0
0
回答質問
Hello everybody, my output is a structure like Run = theta: {1x10 cell} sigma:{1x10 cell} I want to compute the mean of theta and sigma. I would be grateful if you could lead howI should do that?
Run = theta: {1x10 cell} sigma: {1x10 cell}
10年以上 前 | 1 件の回答 | 0
1
回答質問
I have this error and I got stoped, please help me: Attempted to access indicis(2); index out of bounds because numel(indicis)=1. Error in Dag_MCMC002 (line 120), index = indicis(2);
function [Run] = Dag_MCMC002(data,dist,steps, DAG, fan_in, vector, k_max, lambda_snr_vec, alpha_sig, beta_sig) [n_p...
10年以上 前 | 1 件の回答 | 0
1
回答回答済み
for about three days I have had this error message: Cell contents reference from a non-cell array object.
the error is in line59.
for about three days I have had this error message: Cell contents reference from a non-cell array object.
the error is in line59.
10年以上 前 | 0
回答済み
for about three days I have had this error message: Cell contents reference from a non-cell array object.
I attached the whole program. I would be grateful if you could have a look at it.
for about three days I have had this error message: Cell contents reference from a non-cell array object.
I attached the whole program. I would be grateful if you could have a look at it.
10年以上 前 | 0
質問
for about three days I have had this error message: Cell contents reference from a non-cell array object.
lambda_snr_vec = ones(1,nodes); sigma_sample = 2; Counter = 1; for i=1:steps for child=1:nodes ...
10年以上 前 | 5 件の回答 | 0




