Community Profile

photo

Eric Delgado


Anatel

Last seen: Today Con actividad desde 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

Ver insignias

Content Feed

Ver por

Respondida
Reset axes in Matlab App Designer
You shouldn't clear the axes because it's gonna turn down the efficiency of your app. Just create a "startup" for the plot and a...

alrededor de 13 horas hace | 0

Respondida
How to have a chain of inputs when changing the drop-down menu in MATLAB APP Designer?
Just create a callback to this main drop down to control the visibility of your objects... see app attached.

18 días hace | 0

| aceptada

Respondida
for loop to while loop
Try this... x=16; X=[0,10,15,20,22.5,30]; Y=[0,227.04,362.78,517.35,602.97,901.67]; D=length(X); % WHILE LOOPS i=1; whi...

18 días hace | 0

| aceptada

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

alrededor de 1 mes hace

Resuelto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

alrededor de 1 mes hace

Resuelto


Inner product of two vectors
Find the inner product of two vectors.

alrededor de 1 mes hace

Resuelto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

alrededor de 1 mes hace

Respondida
How to center all of my data in my UItable in Appdesigner
Try this... % First issue: transform a numeric value to string, defining your format. LastName = {'Sanchez';'Johnson';'Li';'Di...

alrededor de 2 meses hace | 1

Respondida
A very fast way to convert numbers into datetime ?
You are right @Voss... I just run it 100 times and there's no difference at all. :( % Input: time = [ 2.02210270954498e+16; .....

alrededor de 2 meses hace | 1

| aceptada

Respondida
How to move data from one table to another in checkbox form
Are you trying to represent tabular data under a tree?! If so, look solution below...

alrededor de 2 meses hace | 1

Respondida
How can I quantify the number of cells between specific values?
I don't know if my solution is the "simple way" that you request! :) randomMatrix = randi([0,1],10) meanZeros = zeros(height(r...

alrededor de 2 meses hace | 1

Respondida
How to enter user values into an existing matrix.
Try this... originalMatrix = randi(10,5); inputArray = zeros(5,1); for ii = 1:numel(inputArray) inputArray(ii) = input...

alrededor de 2 meses hace | 0

Respondida
Matlab App designer Tree and Edit Field
No, it's not possible using uitree. Maybe you could use uihtml, but I think you'll have a lot of work. I tried a solution for yo...

alrededor de 2 meses hace | 1

Respondida
uigetfile breaks modality in uifigures
What's Matlab version are you using?! I just test it in R2022b and it's working fine. See app attached. % app2 button callback ...

alrededor de 2 meses hace | 0

Respondida
Ordering vectors of numbers of type double and strings according to another vector
You could write a simple loop... string_1 = {'apples' 'pears' 'plums' 'oranges' 'peaches' 'grapes'}; vector_1 = [1 3 7 8 9 10]...

alrededor de 2 meses hace | 0

Respondida
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...

alrededor de 2 meses hace | 0

Respondida
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...

alrededor de 2 meses hace | 0

Respondida
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....

alrededor de 2 meses hace | 0

Respondida
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...

alrededor de 2 meses hace | 0

Respondida
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...

alrededor de 2 meses hace | 0

| aceptada

Respondida
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;...

alrededor de 2 meses hace | 0

Respondida
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 ...

2 meses hace | 0

Respondida
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...

2 meses hace | 0

Respondida
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); ...

2 meses hace | 0

Respondida
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...

2 meses hace | 0

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

2 meses hace | 0

Respondida
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; ... ...

2 meses hace | 0

| aceptada

Respondida
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 =...

3 meses hace | 1

| aceptada

Respondida
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...

3 meses hace | 1

| aceptada

Respondida
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...

3 meses hace | 0

Cargar más