質問

How to Uncover the Hidden Tick Covered by an Object?

The red rectangle covers the XTick at point 1 and that little black bar is not visible anymore (although it is visible for point...

6年弱 前 | 2 件の回答 | 0

質問

Examples for Using _CreateFcn in GUIDE

I have some difficulties to use _CreateFcn in GUIDE (e.g., axes1_CreateFcn(hObject,eventdata,handles)). Could you recommend a li...

6年弱 前 | 0 件の回答 | 0

質問

How to Assign an Axes Object to a struct?

It seems that MATLAB automatically assign h2Axes to struct G, not hAxes. How can I specifically assign hAxes to struct G? h...

6年弱 前 | 1 件の回答 | 0

質問

How to Specify the Size of Rectangles in a figure?

I have drawn 3 rectangles and put them in a struct as follows. It occupies the whole figure1 area. How to make them so small tha...

6年弱 前 | 1 件の回答 | 0

質問

How Assign a Plot to a Specific Axes?

I have drawn two Axes in GUIDE. How can I assign each of my plots to one of them? when I now run it, MATLAB just put both ...

6年弱 前 | 1 件の回答 | 0

質問

How to Change the Min property of slider?

The code below works perfectly until I change Min from 0 to 1. Why cannot I set it 1? What is the solution? function test3(...

6年弱 前 | 1 件の回答 | 0

質問

How to increment a value?

I want to make a Push Button that whenever is pressed, the Static Text goes up one level. For example, it is 1 and after button ...

6年弱 前 | 0 件の回答 | 0

質問

How to Turn On and Off Legend of Graphs Selectively?

I have three lines but I only want a legend for two of them. How can I suppress the legend for the third line?

6年弱 前 | 1 件の回答 | 0

質問

How to Display Grid Lines with Specific Distance from One Another?

I want grid lines for a plot but MATLAB automatically define the number of grid lines. Is there any way to manually define the n...

6年弱 前 | 1 件の回答 | 0

質問

Error while using dot notation

I execute the following code but I get the error "Insufficient number of outputs from right hand side of equal sign to satisfy a...

6年弱 前 | 1 件の回答 | 0

質問

How to Call the Name of a Loaded File?

I load B which is a struct as follows: A = load( ‘B.mat’ ); How can I later access the name of file B from A? When I call ...

6年弱 前 | 1 件の回答 | 0

質問

How to use FOR loops to shorten IF statements?

I have a if structure with 19 elseif parts. Is there any way to use a for loop to write elseif once and control it by a for loop...

6年弱 前 | 1 件の回答 | 0

質問

How to find the number of ones in each column of a logical matrix?

How to find the number of ones in each column of a logical matrix?

6年弱 前 | 1 件の回答 | 0

質問

How to store rectangles properly?

I want to make a series of rectangles using rectangle command. What is the best way to store all of these rectangles?

6年弱 前 | 1 件の回答 | 0

質問

What does it mean when it is said that a struct is a 2-by-3 struct?

What does it mean when it is said that a struct is a 2-by-3 struct?

6年弱 前 | 2 件の回答 | 0

質問

How to call a certain part of a matrix which is a value of a field of a structure?

What I want to do is to access the first column and then the second column of a 5-by-7 matrix which is the value of a field name...

6年弱 前 | 1 件の回答 | 0

質問

How to derive a variable name from a variable?

How to derive a variable name from a variable? A = [5 6 7 8]; B = ‘A’; A(1) % this works and return the first element o...

6年弱 前 | 3 件の回答 | 0

質問

Calling a Field of a Struct by a Pre-defined String Variable

I want to call a field of a struct by a string variable named like that field, but I receive the error “Reference to non-existen...

6年弱 前 | 1 件の回答 | 0

質問

How to Load Two MAT Files with Variables of Similar Names?

I have a MAT File of variables A, B, and C. I have another MAT File with variables A, B, and C. Although the names of variables ...

6年弱 前 | 1 件の回答 | 0

質問

How to rotate points on 2D coordinate systems

I have some points on a 2D Cartesian coordinate system. I want to rotate all these points 90 degrees counterclockwise. What is t...

6年弱 前 | 2 件の回答 | 0

質問

How to Add an Alphanumeric Character to a Shape?

How can I add the number “1” in the middle of the circle below? r = rectangle('Position', [2 3 5 5], 'Curvature', 1, 'FaceCol...

6年弱 前 | 1 件の回答 | 0

質問

Why can the coordinates in "stem3" be defined only as vectors not matrices?

Why can the coordinates in "stem3" be defined only as vectors not matrices?

6年弱 前 | 1 件の回答 | 0

質問

Showing points on a graph

I want to show three points on a 3D graph. x, y, and z show the x, y, and z coordinates of point1, point2, and point3, respectiv...

6年弱 前 | 1 件の回答 | 0

質問

for loop forward and backward

How to make the loop below count increasingly (1,2,3,…) when I press the mouse button and count decreasingly (4,3,2,…) when if p...

6年弱 前 | 1 件の回答 | 0

回答済み

Creating a Matrix from Variables Window

What if my content is so big (e.g., a 1000-by-2000 matrix copied form Excel to Variables) and cannot just type it in like above?...

Creating a Matrix from Variables Window

What if my content is so big (e.g., a 1000-by-2000 matrix copied form Excel to Variables) and cannot just type it in like above?...

6年弱 前 | 0

質問

Creating a Matrix from Variables Window

I create the variable G = []; in the Editor and then click on its name on Workspace and start typing in a 5 by 10 matrix there. ...

6年弱 前 | 2 件の回答 | 0

回答済み

separate matrices out of struct

Thanks, man! You not just answered it, but perfected the question too!

separate matrices out of struct

Thanks, man! You not just answered it, but perfected the question too!

6年弱 前 | 0

質問

separate matrices out of struct

I have a struct having matrices of B1, B2, and B3. I want to make three separate matrices out of them available in the Workspace...

6年弱 前 | 2 件の回答 | 0

質問

Loading a Variable with its Original Format

B is double. When I load B, this function put it in a struct format. How can I load B with double format? C = load( ‘A.mat’, ...

6年弱 前 | 1 件の回答 | 0

質問

How to Convert a Logical Vector to a Character Vector?

What is the shortest way to convert a logical vector to a character vector with two arbitrary names for true and false values? ...

6年以上 前 | 2 件の回答 | 1