Community Profile

photo

Miquel


Last seen: 6 maanden ago
7 total contributions since 2017

Miquel's Badges

  • First Answer
  • Thankful Level 2

View details...

Contributions in
View by

Question


Add structs in a saved array of structures
Hello, I have a function (fun1) which generates several results (r1,r2,r3...). I organise them in a struct. results=struct('re...

7 maanden ago | 1 answer | 0

1

answer

Answered
How do I decrease the margins around the subplots in my figure in MATLAB?
You can use the following code: ax = gca; outerpos = ax.OuterPosition; ti = ax.TightInset; left = outerpos(1) + ti(1); b...

7 maanden ago | 0

Question


Could there arise issues by running the same function in MATLAB pc and online at the same time?
I have a function which I need to run with several distinct and huge variables. Running it in my pc and in Matlab online at the ...

9 maanden ago | 1 answer | 0

1

answer

Question


Function fails when called from another function
The function below fails when I call it from another function. I call it like this: % Stuff before where all the variables are ...

9 maanden ago | 1 answer | 0

1

answer

Question


Concatenate cells leaving columns/rows empty
If I want to concatenate 2 cells I can use []. For example: >> a={'lala'};b={'lolo'};c=[a,b] c = 1×2 cell array ...

9 maanden ago | 1 answer | 0

1

answer

Question


Change specific values in odd/even columns of a matrix
I have a matrix and I would like to make all values which are equal x, equal to y. But I would like to do that only in odd colum...

11 maanden ago | 2 answers | 0

2

answers

Question


Script fails only when managing large amount of files (Error: Matrix dimensions must agree)
I have 6004 files each one containing the energy readings for several appliances (and the total energy consumed) of one house-da...

bijna 3 jaar ago | 1 answer | 0

1

answer