Community Profile

photo

Cameron B


Last seen: más de 1 año hace Con actividad desde 2019

Estadísticas

  • Thankful Level 1
  • 3 Month Streak
  • Knowledgeable Level 4
  • First Answer

Ver insignias

Content Feed

Ver por

Respondida
Toolbar of Plot hiding after loading file
I've had this same issue in app designer as well. What I have done to get around is to simply tell the UIAxes to put another one...

casi 2 años hace | 0

Respondida
Change Color of each individual item in a Listbox (using APP designer)
It doesn't look like you can change the value for individual BackgroundColor or FontColor on app designer (as opposed to a regul...

alrededor de 2 años hace | 0

Respondida
How to work with observed dates in the format 'dd/mm/yyyy' imported from Excel into MATLAB.
%simulate your data input. i assume it is a string. if not just change your %input to make it a string. b = strings(20,1); fo...

alrededor de 3 años hace | 0

| aceptada

Respondida
function who seems slow
Not sure, but maybe one of these is faster load('filename.mat') exist('my_variable') or load('filename.mat','my_variable')

alrededor de 3 años hace | 0

Respondida
How can i get value from field that created by uideditfiled command ?
Are you just trying to get the value of the input from the user? If so then it's YourNum = app.NumEditField.Value

alrededor de 3 años hace | 0

Pregunta


Adding Second Callback to UIAxes Toolbar in App Designer
I'm trying to find out how to add a second callback to the existing toolbar function(s) in App Designer so that one may, for exa...

alrededor de 3 años hace | 1 respuesta | 1

1

respuesta

Respondida
How do i select a point on matlab UIaxes and then get data for it?
Looks like there's something easier to do in 2020a. May want to try it out in 2019a or 2019b as I did not see it in the current ...

más de 3 años hace | 0

Respondida
App Designer: Calling variables created in other functions
This is what I came up with. I'm not sure if it's what you're after, but it looks like it could be. The first thing to learn abo...

más de 3 años hace | 0

Respondida
How to properly import excel data, insert values through "EDIT FIELD" and run a function using App Designer in Matlab?
What is this output = thorntwMater() You have nothing as the input arguements so that's the error it's going to throw.

casi 4 años hace | 0

Respondida
Adding Custom Data Tip to 3D UIAxes slice() plot
Not sure if this is what you’re looking for, but this may help. https://www.mathworks.com/matlabcentral/answers/497552-hi-when...

alrededor de 4 años hace | 0

Respondida
How can I plot in specific intervals?
hold on for ii = 1:100:size(YourArray,1)-100 plot(YourArray(ii+19,1), YourArray(ii+19,2) end hold...

alrededor de 4 años hace | 0

Respondida
How can I find the position of a real number in a vector?
find(v==-0.999)

alrededor de 4 años hace | 0

Respondida
How to record result in a for loop nested in a for loop?
Not sure what the point of alpha is, but here’s something to save your data. clc clear for i = 1:5 for j = 1:1...

alrededor de 4 años hace | 0

| aceptada

Respondida
Legend when plotting with while
This may work. clc clear all T = readtable('Book1.xlsx'); Time=T.DateTime; ColumnYouNeed = input('Which varia...

alrededor de 4 años hace | 0

| aceptada

Respondida
Problem with sliders and plot (App Designer)
I think this is what you mean but let me know if I’m wrong. % Callbacks that handle component events ...

alrededor de 4 años hace | 0

| aceptada

Respondida
My program isn't plotting anything
I’m assuming your variables a and b are actual values. If not, it will obviously give an error that a and b are undefined. I thi...

alrededor de 4 años hace | 0

Respondida
I get the error "Undefined function 'symsum' for input arguments of type 'double'. while solving the equation given below.Please help me.
I ran the script below and got a very large answer. You should check my code/output as there may be a mistake (using matlab mobi...

alrededor de 4 años hace | 0

| aceptada

Respondida
Copy parameters from UIAxes to other Axes in external figure app designer
Check Adam Danz’s answer in the link below to get started https://www.mathworks.com/matlabcentral/answers/281318-how-can-i-save-...

alrededor de 4 años hace | 0

| aceptada

Respondida
How to use savefig in app-designer?
I’d use the function created by Adam Danz found on https://www.mathworks.com/matlabcentral/answers/281318-how-can-i-save-a-figur...

alrededor de 4 años hace | 1

| aceptada

Respondida
Graphing multiple graphs in one figure
%Use hold on and hold off clear clc xx=transpose(1:10); hold on for hh = 1:6 randvec...

alrededor de 4 años hace | 0

Respondida
How to generate and plot a 3D structured mesh in MATLAB?
I’m not sure what all you wanted to do. Is this what you were looking for? clear clc W=8; % Width ...

alrededor de 4 años hace | 0

Respondida
How can I create a 3D plot by using the surf?
You could get better resolution if you had more points in your var_disp and ave_disp vectors. I suppose you could interpolate, b...

alrededor de 4 años hace | 0

| aceptada

Respondida
Invalid syntax at num2str. A'(' might be missing a closing ')'
disp([' (a) tanh(e)=',num2str(tanh(exp(1)))])

alrededor de 4 años hace | 0

Respondida
2D plots : Hovering and index information
https://www.mathworks.com/matlabcentral/answers/497552-hi-when-you-create-a-plot-and-hover-over-a-data-point-without-pressing-an...

alrededor de 4 años hace | 1

| aceptada

Respondida
How to move y-axis number on the left side ?
ax = gca; ax.YAxisLocation = "left";

alrededor de 4 años hace | 0

| aceptada

Respondida
how to add a new entry for legend while running a multiple plot
x=1:10; hold on for ii=1:3 y=ii.*x; fig1 = plot(x,y); legvec{ii} = sprintf('plot for run %d',ii); end legend(...

alrededor de 4 años hace | 1

Respondida
Not enough input arguments
Is this what you mean? y = 2*cos(2*pi*((f1+f2)/2)*t)*cos(2*pi*((f1-f2)/2)*t);

alrededor de 4 años hace | 0

| aceptada

Respondida
How to combine two variables in a table
You should rename your value called mean as something that is not already a function name. meanval = {1,2,3,4,5,6,7,...

alrededor de 4 años hace | 0

Respondida
how do I write variance in percentage?
You would probably use the coefficient of variation. Coefficient of variation is the standard deviation divided by the mean and ...

alrededor de 4 años hace | 0

Respondida
x greater than y by some value
if x - y > 10 disp(’greater than 10’) else disp(‘less than or equal to 10’) end

alrededor de 4 años hace | 0

| aceptada

Cargar más