photo

Dennis


Last seen: 4 Monate vor Aktiv seit 2018

Followers: 0   Following: 0

Statistik

All
MATLAB Answers

1 Frage
112 Antworten

Cody

0 Probleme
45 Lösungen

RANG
274
of 300.759

REPUTATION
324

BEITRÄGE
1 Frage
112 Antworten

ANTWORTZUSTIMMUNG
100.0%

ERHALTENE STIMMEN
44

RANG
 of 21.081

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG
11.748
of 170.900

BEITRÄGE
0 Probleme
45 Lösungen

PUNKTESTAND
531

ANZAHL DER ABZEICHEN
2

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 1
  • Introduction to MATLAB Master
  • 6 Month Streak
  • Knowledgeable Level 4
  • Solver
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
Wanting to call a number from a 1x6 double
Your array has the size 1x6. So it contains values at the positions (1,1) = 9.4623, (1,2) = -71.4600, (1,3) = -21.3836 and so on...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
MATLAB app designer too many output arguments
There are 2 errors in this line: app.DiffusionCoefficientmm2sEditFieldValueChanged.Value = app.DifCoeNum First you got the na...

mehr als 3 Jahre vor | 0

| akzeptiert

Gelöst


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

mehr als 3 Jahre vor

Beantwortet
Is it possible to change the value of a global variable in app designer?
Yes, you can use one matrix for several callbacks and it will keep its values. It will be stored as app property, so you need to...

fast 5 Jahre vor | 0

| akzeptiert

Beantwortet
what is the error with that code?
You need to pass the FontSize as number and not as string: xlabel('time (sec)','fontsize',18,'fontweight','b'); ...

etwa 5 Jahre vor | 0

Beantwortet
I need to break my while loop with a push of button but i get a error
Short answer: clear all; deletes a. Longer answer: Your immediate problem should be solved just by omitting the 'clear all...

etwa 5 Jahre vor | 0

| akzeptiert

Frage


How can i format my uitable using html when it is contained in a parent figure?
Hi, i am trying to format an uitable to have a 2-line header: mytable=uitable(); mytable.ColumnName={'<html><center>This is<b...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Loop through multiple EditField controls placed inside the App Designer and get values from them.
If your edit fields have systematic names you can do it like this: for i=1:3 app.(sprintf('EditField%d',i)).Value end Yo...

mehr als 5 Jahre vor | 2

| akzeptiert

Gelöst


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

mehr als 5 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mehr als 5 Jahre vor

Beantwortet
Generating an unknown ammount of Buttons in App Designer
Hi, your code should almost work, you need to remove the preallocation with zeros. You can let your loop run backwards instead:...

mehr als 6 Jahre vor | 2

Beantwortet
How to fix uicontrol callback error and retrieve the status of a pushbutton from a callback function ?
There are two different types of buttons in MATLAB, push buttons and toggle buttons. The latter actually have the function you d...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
Undefined function 'mtimes' for input arguments of type 'matlab.ui.control.NumericEditField' error
app.S.Value = (C_ratio)^2*((app.V.Value*N)/P); You forgot the '.Value', the error message tells you that you can not multiply ...

mehr als 6 Jahre vor | 1

Beantwortet
Edit box in Gui app
Do you get any error messages? You are overwriting the handle of your edit box, thus you use the wrong handle when you try to u...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
Get Values of uibuttongroup uicontrol checkboxs when i clicked on other uibuttongroup uicontrol pushbutton
You need to pass the handle of your checkboxes to your submitcb to access the values. First add those handles as additional inp...

mehr als 6 Jahre vor | 0

Beantwortet
Unable to check checkboxes AppDesigner
You need to set the values of your checkbox to true or false, not to 0 or 1. MWE: t=uitable; t.ColumnFormat={'logical'}; t.Co...

mehr als 6 Jahre vor | 0

Beantwortet
How to save and load App Designer app state in between sessions
You should load your .mat file into a structure, and pass that structure to other functions. S=load('tccworkspace.mat'); You ...

mehr als 6 Jahre vor | 0

Beantwortet
converting randit to randi
matrix(i,j)=randi(9); Instead of creating single random numbers in a loop maybe consider creating them as vector/matrix. m...

mehr als 6 Jahre vor | 0

Beantwortet
building a for loop with t = t+1
A few things first: i is often used to increment for loops, but it is completly up to you if you use i, t or something else. ...

mehr als 6 Jahre vor | 1

| akzeptiert

Beantwortet
convert matrix to vector in a loop
Please check if this works for you: A=randi(100,144,10); %matrix of size (144,10) B=reshape(A',40,36); B=B';

mehr als 6 Jahre vor | 1

| akzeptiert

Beantwortet
Plotting Negative Values in a Loop
As KSSV already pointed out you need integers as array indices. Additionally i would recommend to use markers to make your data...

mehr als 6 Jahre vor | 0

Beantwortet
How can I use imellipse on a GUI?
When asking a question you should always include the complete error message. My guess is that your error message tells you that...

mehr als 6 Jahre vor | 0

Beantwortet
how to get string as output from inputdlg?
inputdlg returns a cell array and not a string. Try data = xlsread(filename,sheet{1},xlRange);

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
How to retrieve datas from multiples GUIs into a function ?
The difference is where you store your values. The setappdata/getappdata needs an object to store your data, which is provided a...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
dealing with checkbox in GUI
Use a loop and uncheck/check them. %create 20 checkboxes for i=20:-1:1 handles.uihandles(i)=uicontrol('style','checkbox...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
Using Radio Buttons with Push Button
Try changing switch get(eventdata.uibuttongroup1, 'Tag') to switch get(handles.uibuttongroup1.SelectedObject) And you n...

mehr als 6 Jahre vor | 0

Beantwortet
Multiple variable generated by one GUI element
Most likely you do not want to store each value in a different variable. Please check Stephen's tutorial to learn more about thi...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
How to replace the "files required for your application to run" in app designer
Yes, this can be done. There is a really good blog post about this topic, which can be found here. As stated in the blog you ca...

mehr als 6 Jahre vor | 0

| akzeptiert

Mehr laden