Community Profile

photo

Ba Mo


Last seen: 2 days ago
12 total contributions since 2019

Underprivileged PhD Student

Contact

Ba Mo's Badges

  • 3 Month Streak
  • Revival Level 1
  • First Submission
  • First Answer

View details...

Contributions in
View by

Answered
Setting multiple fields in an existing structure
if you're willing to enumerate the new fields names and values, just as you did in your example: pd(i)=setfield(pd(i),'H',H,'p'...

8 months ago | 0

Answered
How can I concatenate or merge two structures?
This works IF AND ONLY IF there are no common fields (duplicate fields) in the 2 structures. mergestructs = @(x,y) cell2struct(...

8 months ago | 1

Answered
Not defining backward loss leads to an 'Abstract classes cannot be instantiated' error. Why is that?
Same problem occurs with the deep learning toolbox Abstract classes cannot be instantiated. Class 'maeRegressionLayer' inher...

8 months ago | 0

Answered
Error using affine2d.empty
I have had this problem for a couple of months now. i'm glad this was posted just 48 hours ago! the same goes for the pReLu lay...

8 months ago | 0

Answered
Is there a way to flush the output buffer in MATLAB when writing to a file?
I would like to, respectfully, disagree with MATLABs' developers. I have used MATLAB on a super-computer cluster, where i had d...

10 months ago | 0

Answered
Is it possible to concatenate structures with the same fields in to one super structure?
my_struct_fields = fieldnames(my_struct1); super_struct=arrayfun(@(i) [my_struct1.(my_struct_fields{i});my_struct2.(my_struct_f...

11 months ago | 0

Answered
Can you use DIR to list files in subfolders ?
as lots of users reported above, new versions of matlab support the following command dir('**/*.mat'); However, old versions of...

12 months ago | 0

Submitted


MultiVarRand
This function generates random values, for multiple correlated variables but with different distributions

1 year ago | 1 download |

Answered
how to use dir in subfolders?
i dont recommend adding folders to matlab's path, casually like this as lots of users reported above, new versions of matlab ...

1 year ago | 0

Answered
How do I read Folders with subfolders ?
As lots of users reported above, new versions of matlab support the following command dir('**/*.mat'); However, old versions of...

1 year ago | 1

Answered
help does not work
Any chance that the toolbox/suite you installed is PSAT (power systems analysis toolbox)? The help command in matlab stops wo...

1 year ago | 1

Answered
How can I make my plot fill the entire figure window?
same problem here i still can't solve it, but i think a key to any solution is adjusting the axes position and size, according ...

1 year ago | 0