Community Profile

photo

Alberto Cuadra Lara


Universidad Carlos III de Madrid

Con actividad desde 2018

Web: https://acuadralara.com. Current position: pre-doctoral researcher in Fluid Mechanics

Programming Languages:
Python, MATLAB
Spoken Languages:
English, Spanish
Professional Interests:
App Building, Applied Mathematics, Compressible Flow and Hypersonics, Combustion and Turbomachinery, Fluid Mechanics

Statistics

All
  • MATLAB Mini Hack 2022 Participant
  • MATLAB Mini Hack Participant
  • 12 Month Streak
  • Knowledgeable Level 3
  • Solver
  • First Review
  • Personal Best Downloads Level 2
  • First Answer
  • GitHub Submissions Level 3
  • Treasure Hunt Participant
  • 5-Star Galaxy Level 1
  • First Submission

Ver insignias

Content Feed

Ver por

Respondida
How can I avoid looping here?
Hello Behrooz, By using elementwise operators {.* .^ ./}. Best, Alberto % Definitions STD_w=0.05; STD_gama=5; mea...

16 días hace | 0

Respondida
How to plot it please help
Hello Melika, If you want to extract the results, I recommend to use WebPlotDigitizer. This can also be done with MATLAB. After...

alrededor de 2 meses hace | 0

| aceptada

Respondida
Saving the timestamp for each iteration in an array
Hi Lola, The property date_final is already a cell, so you are saving a cell value of the cell, which is not what you want. % ...

2 meses hace | 0

Respondida
Add second y axis for a single data
Hello Gunay, Use yyaxis, here is a simple example. Best, Alberto x = [3,5,6,8,11]; y1 = [6,7,9,14,17]; y2 = [0.5,2,5,7,11]...

3 meses hace | 0

| aceptada

Respondida
plot the following equation in file
Hello Shiv, I would proceed as follows. The figure is not similar, but it may be useful to see the procedure. Best, Albert...

5 meses hace | 0

Respondida
why the plot is not coming, is my plot function is wrong? please find the defect in the code.
Hello Sahil, You are plotting a point not a vector with the same length as the time variable. Remove the mean function. I als...

6 meses hace | 0

| aceptada

Respondida
adding for loop with linspace with many variables
Hi Dana, I'm not sure if this is what you expect, but here is the code without errors. I have changed the handle functions to v...

7 meses hace | 0

Respondida
adding for loop with linspace with many variables
Hello Dana, There are inconsistencies in your code: x is not defined before use it The loop is not properly defined, for i ...

7 meses hace | 0

Respondida
Add and delete Tree nodes with context menu in app designer
Hi Jae-Hee, You can delete the node directly as follows % Remove node of UITree delete(app.TreeNode) % If you want to remove...

8 meses hace | 0

| aceptada

Respondida
Multiple Font Sizes in for a label in app designer
Hello Leon, I'm not sure if this is possible, because the font size is a property of the Label class. My approach would be to u...

8 meses hace | 0

| aceptada

Respondida
Calculate dV/dQ to plot differential voltage analysis curve?
Hello Ekagra, I guess you have numerical values of the voltage as a function of the discharge/charge capacity, right? In this c...

8 meses hace | 1

| aceptada

Respondida
How to compute values using for loop then depending on time interval we plot the output?
Hello Mohammed, There is no need to use loops here. MATLAB works great with vectors and is designed for this purpose. I hope th...

8 meses hace | 0

Respondida
Plotting differential equation results
Hello Sabella, I have not worked too much with symbolic, but I think this approach may solve your problem. In case you want ...

8 meses hace | 0

| aceptada

Respondida
How to plot the results from dsolve matlab
Hello Sabella, I have not worked too much with symbolic, but I think this approach may solve your problem. In case you want ...

8 meses hace | 0

Respondida
How to display decimal points on a graph ?
Hello Steven, To display decimals point you can use xtickformat and ytickformat for the x and y axis, respectively. Also, you...

8 meses hace | 1

| aceptada

Respondida
How to take a "differential equation" as input from user in matlab appdesigner?
Hi Himalay, As @Walter Roberson commented, support of character vectors and strings will be removed in a future release. Anyway...

9 meses hace | 1

Respondida
To save plots without showing them on the screen
Hi Vahid, Just set the property 'visible' of the object figure to 'off'. f = figure('visible','off'); hold on for k=1:length...

9 meses hace | 0

| aceptada

Respondida
how can i call vector and their element at a time for comparision
Hello Chaudhary, I see... Okay so you need to use the eval function, but it will be much slower. % Input Fr1 = [0.8147; 0.905...

9 meses hace | 0

Respondida
how can i call vector and their element at a time for comparision
Hi Chaudhary, A loop using the function any will be my approach. % Input Fr1 = [0.8147; 0.9058; 0.1270; 0.9134; 0.6324]; Fr...

9 meses hace | 0

| aceptada

Respondida
I would like my code to allow the user to plot as many circles as they want until the user right clicks, if the circle plotted intersects any other circle it must change color
Hello Brock, As other members of the community have pointed out, there were few conditions missing. I have reorganize your scri...

9 meses hace | 0

Respondida
Error message: Too many input arguments
Maybe the round function was not compatible with symbolic variables on previous version. Try this approach: Convert matr to f...

10 meses hace | 1

| aceptada

Respondida
Error message: Too many input arguments
Hi Quy! What version of MATLAB are you using? Your code works in MATLAB 2021b syms A1 B1 A2 B2 A3 B3 A4 B4 eq1 = A1*log(4)+...

10 meses hace | 1

Respondida
Why does it return 0 value? (Plotting fourier series)
Hello Tu, Check the definition of F_0, it's empty clc clear all close all L = 1; syms x n = [-4:4]; rectn = rectangula...

11 meses hace | 0

Respondida
How can I Plot Curves all starting at a specific Point (0;900).?
Hi Andy, if I have understood correctly this should work % MATLAB Answers: How can I Plot Curves all starting at a specific P...

11 meses hace | 0

| aceptada

Respondida
How to remove the number 0 between index1 & index2 ?
Hi Seungkuk, There you have it. The tricky thing here is that you have to create a vector of the same length as your input, who...

alrededor de 1 año hace | 0

| aceptada

Respondida
plot is showing blank
Hello Kundan, Some comments: H1, I could not find the value in the paper. See Ref 22. and verify the value. R_T is the para...

alrededor de 1 año hace | 0

| aceptada

Respondida
plot is showing blank
Hello again Kundan, I have to go and couldn't find the exact error. Some comments: Check the value of the constants and unit...

alrededor de 1 año hace | 0

Respondida
Insert Mathlab figure in Latex
Hello Telema, It appears that the Latex compiler you are using could not find the file. Usually empty spaces give errors. Try r...

alrededor de 1 año hace | 0

| aceptada

Respondida
Save app designer UITree to .mat file?
Hello Rod, maybe this small app can help you. This code creates an GUI that contains initially a UITree component with different...

alrededor de 1 año hace | 0

Respondida
What do I have to fix the plot to make it work?
As @Sulaymon Eshkabilov has said, the formulation has some kind of typo. Check the definition of mu first, e.g., is the last ter...

más de 1 año hace | 1

Cargar más