Community Profile

photo

NgoiKH


Last seen: 2 days ago Active since 2019

Statistics

All
  • First Submission
  • First Answer

View badges

Content Feed

View by

Answered
How to save structure inside a structure in .mat file?
%%% Saving content of structure a = field1: {6x6 cell} field2: {6x6 cell} field3: {6x6 cell} field4: {6x6 cell} fi...

11 months ago | 0

Answered
How can I save the contents of a struct to a .mat file?
%%% Saving content of structure field_str = fieldnames(a); save('filename.mat', field_str{:}) %% Loading content of structu...

11 months ago | 0

Answered
Counting number of digits after the decimal points
function [N_decimal] = countdecimal(value) max_round_dec = 15; for N_decimal = 0:max_round_dec val = rem(value,10^(-N_dec...

1 year ago | 0

Submitted


countdecimal
Used to count number of decimals of a non-integer number

1 year ago | 0 downloads |

Thumbnail

Answered
using string in if statement
str = 'abc' if strcmp('abc',str) expression else expression end

2 years ago | 1

Answered
How to make axes have proportional scales?
daspect([1 1 1])

4 years ago | 1