Community Profile

photo

Eric Delgado


Anatel

Last seen: 3 jours il y a Actif depuis 2021

Programming Languages:
MATLAB
Spoken Languages:
English, Portuguese
Professional Interests:

Statistics

All
  • 3 Month Streak
  • Knowledgeable Level 4
  • Thankful Level 2
  • Solver
  • First Answer
  • First Review

Afficher les badges

Content Feed

Afficher par

A répondu
How do I fix the loading bar while adding an axis on appdesigner?
Hummm... I'll try to list what worked for me when I had to deal with an issue like yours. Update my OS (old versions of Win10 a...

3 jours il y a | 0

A répondu
How to create exe file from mlapp?
Are you going to allow the users of your app to add new songs or new images? If so, put those folders in "Files installed for yo...

3 jours il y a | 0

A répondu
How use a check box in a GUI
First of all, you have to save your "toggleHistory" function in a file "toggleHistory.m". And then you have to replace "history....

3 jours il y a | 0

A répondu
For loop using Struct data with multiple values per timepoint
I don't know if I understand your issue, but... uniqueTimePoints = unique(XY11.DNA.Timepoint); for ii = 1:numel(uniqueTimePo...

3 jours il y a | 0

A répondu
How can I implement the following function block
Just pass all the arguments to your function, not only the array "u". function output = NameOfYourFunction(m, I, u) argu...

3 jours il y a | 0

| A accepté

A répondu
Z must be a matrix, not a scalar or vector.
You have have a grid created by meshgrid, so you need a matrix to fill this grid. Not a vector... It is what it is! :) t=0:30;...

3 jours il y a | 0

A répondu
Is there a way to update input arguments from main app to dialogue app if the dialogue app is running in single instance?
Yes. Just create a PUBLIC property or a public function in your dialogue app and call it everytime you change something in your ...

13 jours il y a | 0

A répondu
How to resize panel in app Designer?
Unfortunately, Matlab still doesn't have a good approach to dealing with this issue. Maybe you can use a toolbar with predefined...

13 jours il y a | 0

A répondu
How do I implement surfc in app designer?
Try this... function ButtonPushed(app, event) x=-2*pi:0.2:2*pi; y=-2*pi:0.2:2*pi; [x,y]=meshgrid(x,y); ...

18 jours il y a | 0

A répondu
Getting inputs from App designer and saving them at a mat file or .mfile
Hey... I made an app in R2021b showing how to keep the main info of selected buttongroup and listbox objects. You should use "Ta...

18 jours il y a | 0

A répondu
Matlab App Designer Pop Up Figure
You can use "Tag" property... % Tabs creation UIFigure = uifigure("Position",[600 300 400 450]); TabGroup = uitabgroup(UIFigu...

18 jours il y a | 0

A répondu
Union two matrix of nxn, how?
Try this... mdfl_dc_1 = [85 97 109 121 133 145 157 169 181; ... 43 0 0 0 33 0 0 0 0; ... ...

18 jours il y a | 0

| A accepté

A répondu
How to separate points under a line in a scatter plot
Try this... % Data xData = Datax.x; yData = Datay.y; % Reference line: y = ax + b % Using your data, a = 200/2000 and b =...

environ un mois il y a | 1

| A accepté

A répondu
gets slightly off value when summing
It's float operation universe. :) p1 = 0.005; p2 = 0.0450; % Instead of: p1+p2 == 0.05 % Try this: abs(p1+p2-0.05) <= 1e...

environ un mois il y a | 1

| A accepté

A répondu
Array values assigned to for loop
Try this... t = [-0.5; 1.5811; -1.5811]; T = 1; for i = 1:numel(t) if t(i) > 0 & t(i) < T msg = 'edge does no...

environ un mois il y a | 0

A répondu
How do I write a function that alternates an output variable between 0 and 1 every 1 second?
Create a timer with its "UserData" property set to 0. And a timer function (you have to save it to a file) to switch this value ...

environ un mois il y a | 1

| A accepté

A répondu
Update content in sliceViewer without creating new sliceviewer object in parent uipanel (appdesigner)
Wow @Linus Olofsson... this plot visualization is super weird. It seems impossible to update it! A possible solution is to creat...

environ un mois il y a | 0

| A accepté

A répondu
Multilanguage support in AppDesigner GUI
Hey @Nikolay, you could use an excel file as a dictionary (or a json file) and you should fill "Tag" property of each object sub...

environ un mois il y a | 1

| A accepté

A répondu
Limit User Input to EditField Value in App Designer
It's not possible because there is no callback related to a trigger like that - there is no "EditFieldValueChanging", but only "...

environ 2 mois il y a | 0

| A accepté

A répondu
Power over the total bandwidth doesn't equal the sum of powers over the sub-bandwidths
You can't do those operations in "logarithm world". You should convert it to linear using db2pow (if power unit) or db2mag (if v...

environ 2 mois il y a | 0

A répondu
How to get the max value between two elements of two separate arrays?
Try this... a= [1,3,4,6]; b= [2,2,5,4]; max([a;b])

environ 2 mois il y a | 1

| A accepté

A répondu
How do I add a draw rectangle function to an image app?
Hey... you have to show your image in an uiaxes and create a handle to your ROI as property of the app, so you can draw your ROI...

environ 2 mois il y a | 0

| A accepté

A répondu
Take last n elements in vector
Try this... a = [1,2,3,4,5,6,7,8,9,10]; N = 3; % user_input range_a = a(end-N+1:end)

environ 2 mois il y a | 0

| A accepté

A répondu
splash screen for compiled application goes away before application launches
This an old question, but... (1) Unfortunately, there is no solution yet. I dealt with this by developing a splash screen app i...

environ 2 mois il y a | 2

A répondu
Index in position 1 is invalid Problem
Try this... x = [0,240,480]; y = [1200,0,0]; Fcn_AddThings = str2func('@(x,y) x.^2 - 2*y'); Fcn_AddThings(x, y) Fcn_AddTh...

environ 2 mois il y a | 0

A répondu
Unable to use UDP when using a standalone executable
Firewall. No doubt about it! :) Just add your app (not Matlab, but your deployed app) in "white list" of the firewall. See imag...

environ 2 mois il y a | 0

| A accepté

A répondu
Display one axes across multiple figures
No. you can't, but copyobj will do the job, right? And you can use addlistener to help you handle the update process of all your...

environ 2 mois il y a | 0

A répondu
Extract fields from struct and convert to excel file
Try this... data = struct('ISPC_together', 0.2053, 'GSI_together', 0.0172); data(2) = struct('ISPC_together', 0.0243, 'GSI_...

environ 2 mois il y a | 0

A répondu
How to respond to update of axis data?
Hey @bethel o, yeah, it's possible. "YData" is not a property of figure or axes, ok? fig = figure; ax1 = axes(fig); h = plo...

2 mois il y a | 0

| A accepté

A répondu
Plot data with months on X and numerical value on Y
See image below...

2 mois il y a | 0

Charger plus