Community Profile

photo

Nicole


Active since 2018

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


How can I find the length of a cell array in a particular dimension excluding 0x0 doubles?
As a simple example, say I had this cell array: examplecell = {'Name1'} {'Heights'} {'Weights'} {[20000]} ...

5 years ago | 1 answer | 0

1

answer

Question


How can I understand concatenation in multiple dimensions?
I have a 4-D cell array and I want to extend certain elements in the fourth dimension into the fifth dimension by concatenating ...

5 years ago | 1 answer | 0

1

answer

Question


How can I define a variable with a name based on an input?
I want my script to create new variables whose names depend on an input, e.g.: ship_name = input('Name of the ship: ','s'); ...

5 years ago | 1 answer | 0

1

answer

Question


How can I refer to a variable, defined in one .m file, within a function defined in another?
I define a mixed cell in KSP_run.m: %% Define celestial body characteristics and scientific constants %Body ...

5 years ago | 1 answer | 0

1

answer