質問


how to find value of x for a known value of y(x), using fplot?
Hi ! I am using the function fplot to plot 5 functions. and the plot is working good. now for each function I am trying to...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


How to keep the slider position the same after retrieving its value?
Hi ! I am using a slider and a pushbutton to get the value from the slider. but each time the push button is pressed the pos...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


How to run functions in GUI opening function and pass variables?
Hi ! I would like to do the following (not sure if it is possible) : I would like to create a GUI and in the GUI_OpeningFc...

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

0

回答

質問


How to run matlab script within GUI file then wait for the GUI input in the script ?
Hi ! I have created a matlab script ("main.m") which with a loop. In each iteration I call a matlab GUI slider to get an in...

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

0

回答

質問


How can I implement code online?
Hi ! I would like to ask about the best way to put my matlab code online and be excutable even for those who do not have mat...

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

1

回答

質問


executing an m file with user input and plots using app designer
Hi! I have worked on some program that has a loop and each time it takes user input using GUI slider and based on the input so...

約5年 前 | 0 件の回答 | 0

0

回答

質問


filling each row of a matrix using values from a vector
Hello ! I want to fell certine element in a matrix in this way: for example matrix x=[0 0 0 0 ; 0 0 0 0 ; 0 0 0 0 ]; and ...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


How to create a matrix out of all the possible combinations of a vector
Hi ! I want to fill a vector with specifice numbers of 1's and -1's, and the rest are zeros. And get all possible combinations...

5年以上 前 | 2 件の回答 | 0

2

回答

質問


How to control graph layout
I want to know if there is a way to change the layout of the graph to represent what I want. for now I connection of the nodes...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


or operation on the columns of a matrix ?
Hello! I have matrix S that contains zeros and ones. and I want to convert it to a column vector contianing one in the ith po...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


How to plot rows of matrix as pont in number of column dimensions
Hello! I have a matrix U with dimensions n by k. is there a way to plot the n rows as n point in k dimentions ? or awa...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


How can I plot data in one matrix and color the data differently using data from another matrix?
Hi ! I have a matrix with "data" with size n by 2. this matrix rows contain some value that I want to plot. and another mat...

5年以上 前 | 1 件の回答 | 0

1

回答

回答済み
I want to use the L0 norm ?
I used sum(x>0).

5年以上 前 | 0

| 採用済み

質問


I want to use the L0 norm ?
Hi ! I was trying to use the function norm(v,p). but p takes value from 1 to inf. How can I calulate the zero norm ?

5年以上 前 | 2 件の回答 | 0

2

回答

質問


How to concatenate k vectors together without knowing the value of k ?
Hello ! I have an array of different size vectors S. I want to get for example 3 of the vectors then put them all in one. af...

5年以上 前 | 2 件の回答 | 0

2

回答

質問


How to make a graph with nodes and edges
Hello! I am trying to use the function graph but I get the error. Undefined function or variable 'graph'. I am trying to ma...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


creating a function getting the graident and passing variables to them
Hi ! I am trying to creat a function that I can both use to pass values and compute the gradient of that function. I tried...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


determining the value of an x corresponding to specifec y from the graph
I have two vector that I used to plot the following. the vector used to plot the y axis does not contain the value 0.5 so I...

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

1

回答

質問


pick numbers from matrix with probability
Hi ! I have a matrix that contain the probability of two variables. is there a function that pick for example 6 numbers a...

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

1

回答

質問


what type of plot is this?
Hi ! I have an assigment where I should plot 2 normal random variable like this. but what type of plot is this? all exam...

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

2

回答

質問


vector function takes vector input ?
Hello ! I am having truble inserting vectors as an input to a function that is a vector what I did is I defined a function a...

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

1

回答

質問


How to solve second diffrential equation that look like this ?
I am trying to solve this equation using matlab and couple others. but I do not know why it does not work. d2y(t)/t + 2*...

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

2

回答

質問


How to solve Conversion to cell from double is not possible.
I am trying to create an array named actOld using this code for i=1:nPlayers uAve{i}=zeros(nRoads,1); actOld...

約7年 前 | 2 件の回答 | 0

2

回答

質問


How to resume the program runing after a button press ?
Hi ! I have a program script that opens a GUI. the user should press one of many buttons. and the value of a global variab...

7年以上 前 | 0 件の回答 | 0

0

回答

質問


How to use GUI to change a value of a variable and use that variable in a script
Hi! I have a program that opens a GUI while its running, the thing is I want the user to press one of the buttons on the G...

7年以上 前 | 2 件の回答 | 0

2

回答

質問


getting the coordinate on an image
Hi, I want to get the coordination (x,y) on an image when clicked. I use the imshow(I); to display the image. ...

7年以上 前 | 1 件の回答 | 0

1

回答

質問


what does this error mean (Error using matlab.graphics.axis.Axes/set )
Hi! I want to make a plot where the Maximilian point to be plotted are 5. but I keep getting this error message: ---- ...

7年以上 前 | 2 件の回答 | 0

2

回答

質問


How can the numbers appears on an excel sheet correctly and not as wierd letters?
Hi! I have a problem in writing on an excel sheet. the data is stored correctly but the numbers are not appearing. the code m...

7年以上 前 | 1 件の回答 | 0

1

回答