Answered
How to create stable axes on matlab gui
fatih - You can specify the parent axes as a parameter to imshow (see imshow name value pairs for details). In your case, you wo...

6 years ago | 0

| accepted

Answered
Open multiple file as string
FC - try the following folderName = '/Users/somename/somepath'; % example folder that has files we are interested in filesInFo...

6 years ago | 1

| accepted

Answered
How to make this pie chart?
Behzad - yes, you can change the colours of each piece of the pie. To generate a pie chart with five equal pieces, just do hPat...

6 years ago | 1

Answered
error while using ezplot
Seungwon - try using fplot instead which is recommended to be used instead of ezplot. Note that when I run your code with ezplot...

6 years ago | 0

Answered
Controlling of two subplots by two different slider
Jerome - yes, each slider can affect its own subplot. Rather than assigning the callbacks outside of the for loop, do it on each...

6 years ago | 1

Answered
give value 0 when doesn't find element without LOOP
gabriele - try multiplying the result of ismember with a row array of [1 2 3] like >> sol = [1:size(A,2)] * ismember(A,7); >> ...

6 years ago | 0

| accepted

Answered
split file.wav
elis - the answer you included was to split the wav file into 1 second chunks. You want to do something different and split the ...

6 years ago | 0

| accepted

Answered
Introduction to MATLAB programming - image blur problem
ey21 - I think that you need to simplify your code. For the block that is concerned with the inner rows and columns, I've reduce...

6 years ago | 0

| accepted

Answered
convert char to double
Farshid - try using cellfun. It seems that the pn is a cell array with 38 elements and each element is a 8x1 char array. You hav...

6 years ago | 0

| accepted

Answered
Fixing an eroor in simple if-function
David - yes the problem is with your condtion. Note that size will return an array where each element is the size of the dimensi...

6 years ago | 0

Answered
Displaying the result of a pushbutton command in AppDesigner
Tiffany - in your pushbutton callback function RandomFluorescenceValueGeneratorButtonPushed(app, event) a = 0; %min fluore...

6 years ago | 0

| accepted

Answered
URGENT HELP NEEDED FOR PROJECT
Rahul - when I run your code, I observe the following error Undefined function or variable 'ro2'. Error in NAviGAtiON/vehicl...

6 years ago | 0

| accepted

Answered
Send a compressed image from matlab to c++ via TCP
JJ - did you save the compressed image to file? Have you considered using fread to read the compressed image file and then send ...

6 years ago | 0

| accepted

Answered
How to create a .txt file in matlab to report mt output
From fprintf, use fopen to create (or open) a file and write to it as fid = fopen('myDataFile.txt', 'w+'); fprintf(fid, 'The p...

6 years ago | 1

| accepted

Answered
Concatenate images without image toolbox/montage function
matquest - a very simple (hopefully accurate!) way would be to detemine the maximum width (columns) and height (rows) of the two...

6 years ago | 0

| accepted

Answered
i want when the user inputs on a matrix or vector to be required to include the clecius symbol how would i do tha?
Alex - if you just want to show the degrees symbol, then you could do something like >> degreeSymbol = char(176); % 176 is unic...

6 years ago | 0

Answered
Dot indexing is not supported for variables of this type.
Charles-Antoine - it seems that it is the same line that is causing the problem this.getForcesReactionsIemeNoeud(indiceNoeud).g...

6 years ago | 0

Answered
"Failure in initial objective function evaluation"
Leon - where have you defined your objective and constraint functions relative to the "main" code (i.e. that code where you crea...

6 years ago | 0

| accepted

Answered
Title on the colour bar and legend issues
charlotte - you might be able to set the Position property of the label. To check the current position, you could try hLabel = ...

6 years ago | 0

Answered
How to make morse code on GUI and display it on text box?
Siti - in your PB_M_Callback callback (which presumably converts the alphanumeric text to morse code), the code is % --- Execut...

6 years ago | 0

| accepted

Answered
How do I resolve 'Conversion to cell from double is not possible'?
Ashton - try replacing the () brackets with {} braces if app.Type1_Select.Value == 1 rates{1,1} = xlsread('Rates.xlsx','C3...

6 years ago | 1

| accepted

Answered
ERORR "CANNOT FIND 'GET' METHOD FOR STRING CLASS.
Khanh - the problem is that edit is an array of strings to edit text control handles and is not an array of the handles themselv...

6 years ago | 0

Answered
How can I avoid flickering animation of multiple balls using plot3?
Matthias - rather than deleting the balls (on each iteration), try re-using the graphics object handle to each ball: close all;...

6 years ago | 0

Answered
gamultiobj - Not enough input arguments
olga_vm - the signature for your fitness function is function z=myfitnessfunction(x,y) with two inputs, x and y. The error mes...

6 years ago | 0

| accepted

Answered
How to use webread with a variable (from a table) in the url
Benjamin - you need to specify a format when using sprintf so that the code is included in the string. For example, >> code = '...

6 years ago | 2

| accepted

Answered
Reading .txt files and replace numbers from one file to another
Ivan - try using importdata to read your text files, perhaps something like file1Data = importdata('file1.txt', ' ', 1); % skip...

6 years ago | 0

| accepted

Answered
How to ask the user of my project to name and save there work?
Brogan - consider using the uiputfile dialog to prompt the user to choose a folder and filename for their data [filename, path...

6 years ago | 1

Answered
Finding mean value through every 12 columns of nested doubles in cell
Gabrielle - d_meanm is a 1x36 array and you want to find the average of each of the three years, then you could reshape the arra...

6 years ago | 0

| accepted

Answered
cut's video to give start and end postion in matlab
Irfan - try using the videoreader to load the video and read only the frames that you are interested in. The videoreader object ...

6 years ago | 0

Answered
Control ONE Pop Up Menu depending on ANOTHER Pop Up Menu
Miss B - which version of MATLAB are you using? On older versions, you may need to do something like if get(hObject, 'Value') =...

6 years ago | 0

Load more