Community Profile

photo

Michael Van de Graaff


Last seen: 12 giorni ago Active since 2021

Statistics

  • Thankful Level 3
  • Thankful Level 2
  • Knowledgeable Level 2
  • First Answer
  • First Review

View badges

Content Feed

View by

Question


Setfield vs dot indexing for deeply nested struct
Supose i have the following struct and an associated string: s.f1.f2.f3.f4.f5 = data; tmp_string = 's.f1.f2.f3.f4.f5'; So, j...

22 giorni ago | 1 answer | 0

1

answer

Answered
Modify elements in arrays stored in cells at specified rows/columns
I modified X to make it a bit clearer where each element is going, but I believe this does what you want: X = { [1,0.1], [2,0.2...

circa 2 mesi ago | 0

| accepted

Question


Applying whos to each field of a struct
I wrote a function to apply the whos function to a struct and all of its fields recurvsively, and I have a strong but inarticula...

circa 2 mesi ago | 2 answers | 0

2

answers

Question


What is the difference between strjoin and join?
The Documentation says "The join function is recommended to join elements of a string array." Why is this?

circa 2 mesi ago | 1 answer | 0

1

answer

Question


Possible to omit automatically generated/greyed out code in app designer from ctrl-F results?
When using the app designer, I often use ctrl-F to find text. Often, a large number of results from component creation, properti...

4 mesi ago | 1 answer | 0

1

answer

Answered
MATLAB app designer, how to update value of a property in declared callback function
I put the following in a comment, and OP says it worked, so i'm copying this into an answer in the hopes that it can be accepted...

4 mesi ago | 0

| accepted

Answered
Is it possible to process the sparse matrix faster with vectorization instead of for loop?
So you're not gonna have enough memory, so that's gonna be a big problem. (actually, my computer did 12000 points in about 3 se...

4 mesi ago | 0

Answered
Matlab App Designer does not respond after running for ~15min
You have an fopen but no fclose. that's generally not a great idea in my experience Is fopen even supposed to be used in this c...

4 mesi ago | 0

Answered
Less Than and Less Than or Equal to Not Working Properly
So, for the part of your question "Additionally, if anyone could explain why the table is starting at -.15 even though -.2 is th...

5 mesi ago | 0

| accepted

Answered
Attempting to plot a function with a for loop, but nothing is working.
figure(1); kilotons = 2; %i needed to add this % i always use double indices ii,jj,kk, helps avoid confusing and also is % i=...

5 mesi ago | 1

| accepted

Question


Delay automatic unfolding in App Designer due to syntax errors in function definition
I have built an image fitting app that I use for my work. The app has several private functions, which I occasionally edit. Fo...

5 mesi ago | 1 answer | 0

1

answer

Answered
MATLAB APP DESIGNER INPUT EDIT FIELD. PLEASE HELP!!
Does something like this do what you want? function ageoffirstpilotEditFieldValueChanged(app, event) goodage = 0; ...

12 mesi ago | 0

| accepted

Question


Why doesn't [] ~=1 yield logical one?
I'm using matlab r2012B, because the computer is old and disconnected from internet and it runs my experiment and is not to be u...

12 mesi ago | 1 answer | 0

1

answer

Answered
How to reverse a series of variable assignments?
I did find a quick solution. On the File Exchange Alessandro Masullo has a function which aligns a block of variable assignments...

circa un anno ago | 0

| accepted

Question


How to reverse a series of variable assignments?
In my code, I frequently have blocks of code of the form var1 = setting1; othervar2 = othersetting2; somevar3 = somesetting3;...

circa un anno ago | 2 answers | 0

2

answers

Question


App Designer add function confused by variable names
I've determined the problem and work around for my particular case, and wish to post it here for posterity. The problem i en...

circa un anno ago | 1 answer | 2

1

answer