Michael Van de Graaff
Followers: 0 Following: 0
Feeds
已回答
Alternative to using Multi-level field struct
I gave it shot. n = 1000; s(n) = struct(); for ii = 1:n for jj = 1:n s(ii).a(jj) = ii;%this is just buildin...
Alternative to using Multi-level field struct
I gave it shot. n = 1000; s(n) = struct(); for ii = 1:n for jj = 1:n s(ii).a(jj) = ii;%this is just buildin...
2 years 前 | 1
| 已接受
已回答
Using fminsearch in the app designer
As written, data is a 1x2 array of EditField objects. You need to get the actual number values You may want to replace the edit...
Using fminsearch in the app designer
As written, data is a 1x2 array of EditField objects. You need to get the actual number values You may want to replace the edit...
2 years 前 | 1
提问
Is fit() not supposed to be used? It seems intentionally terrible.
I have been trying to use fit() to fit my data, but it seems like the documentation and functionality of it are terrible. for e...
2 years 前 | 1 个回答 | 0
1
个回答已回答
Errorbars on a select dataset
You haven't defined err, f, or g. Also, please post the FULL error message for better help this produces an errorbar plot: x ...
Errorbars on a select dataset
You haven't defined err, f, or g. Also, please post the FULL error message for better help this produces an errorbar plot: x ...
2 years 前 | 0
已回答
Can someone help me with this. I try my 101% but i always fail with GUI.
the code you've provided (which you should put in youre question rather than your comment/answer, you can edit the question and ...
Can someone help me with this. I try my 101% but i always fail with GUI.
the code you've provided (which you should put in youre question rather than your comment/answer, you can edit the question and ...
2 years 前 | 0
已回答
I wanna ask if anyone can help , I have a non linear graph , which I want to make it linear can I do it using Matlab
plot(sort(data))
I wanna ask if anyone can help , I have a non linear graph , which I want to make it linear can I do it using Matlab
plot(sort(data))
2 years 前 | 0
已回答
Why is updating my uitable slowing down my app?
Remove styles from the table with removeStyle(table) https://www.mathworks.com/help/matlab/ref/matlab.ui.control.table.removest...
Why is updating my uitable slowing down my app?
Remove styles from the table with removeStyle(table) https://www.mathworks.com/help/matlab/ref/matlab.ui.control.table.removest...
2 years 前 | 1
| 已接受
提问
Why is updating my uitable slowing down my app?
Why does my uitable get sluggish when i'm updating it? (Solved, posted for community reference) I have an app. The app has a ...
2 years 前 | 1 个回答 | 1
1
个回答提问
Can the Code Profiler be used programmatically to profile an app in App Designer?
I am aware that I can open the Profiler, click 'start profiling' run my app, then stop profilling and view it. Can I initiate ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Are recursively defined or nested anonymous functions dangerous?
I'm writing a generic fitting app for myself. My data are 2D images of atomic density distributions. They have several features ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Extract sub array from d-dimensional array given indices for each dimension
Suppose I have a d-dimensional array A which is size d_1 by d_2 by....by d_d and for each dimension i have a index vector vd_i ...
2 years 前 | 3 个回答 | 0
3
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
3 years 前 | 0
| 已接受
提问
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...
3 years 前 | 2 个回答 | 0
2
个回答提问
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?
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
3 years 前 | 0
| 已接受
已回答
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...
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...
3 years 前 | 0
已回答
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...
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...
3 years 前 | 0
已回答
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...
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...
3 years 前 | 0
| 已接受
已回答
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=...
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=...
3 years 前 | 1
| 已接受
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答已回答
MATLAB APP DESIGNER INPUT EDIT FIELD. PLEASE HELP!!
Does something like this do what you want? function ageoffirstpilotEditFieldValueChanged(app, event) goodage = 0; ...
MATLAB APP DESIGNER INPUT EDIT FIELD. PLEASE HELP!!
Does something like this do what you want? function ageoffirstpilotEditFieldValueChanged(app, event) goodage = 0; ...
3 years 前 | 0
| 已接受
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
4 years 前 | 0
| 已接受
提问
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;...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 1 个回答 | 2