Réponse apportée
Unable to perform assignment because the size of the left side is 145863-by-2 and the size of the right side is 106796-by-2.
Lasse - you could try to use padarray if you have the Image Processing Toolbox or you could try Home = []; c= 1:2; for i= 1:s...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Updating textbox with variable
George - if you want to just update the existing annotation (rather than creating a new one on each iteration of the while loop)...

presque 6 ans il y a | 0

Réponse apportée
whenever i call the recognition push button in my gui interface the error message is showing
indrani - you haven't posted the full error message but presumably it has something to do with CCoeff = corr2(A,B) where A and...

presque 6 ans il y a | 0

Réponse apportée
Matlab figure with a variable in it
wallflower - you can set the name property of the figure. Perhaps try temperature = 90; hFigure = figure('Name',sprintf('figur...

presque 6 ans il y a | 1

Réponse apportée
How do I make a for loop that averages the first 150 values of vector, x, saves it, and then averages the next 150 values of the same vector, x, saves it, and continues for the entirety of the vector, x.
Caesar - if you need to use a loop (as you have shown above) then you can set the step size to be 150 and try something like fo...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Adding the first n elements of an array
John - given your output, it sounds like you are trying to get the code to do a cumulative sum. If you need to use a for loop, t...

presque 6 ans il y a | 1

Réponse apportée
Matrix padding with zeros
Darek - perhaps create the 64x64x3 matrix with all elements set to 255 and then replace a subset of that matrix with the 50x50x3...

presque 6 ans il y a | 0

Réponse apportée
how to create used input struct names
You could use setfield as data = setfield(data, 'laserDist123mm', 199) or as you have shown data.laserDist123mm = 199; which...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Microphone recording starts with delay
Steffen - are you sure that there is something to record for the first half-second? Does this "delay" always occur? As for extr...

presque 6 ans il y a | 0

Réponse apportée
I want to interface with the DHT11 sensor in matlab.But program give this error Subscripted assignment dimension mismatch. Error in Untitled (line 27) Humi(i)=str2num(out(5:9)); Can you help me?
Erhan - so the out variable is a string with value '23.00derece'. Your line of code Humi(i)=str2num(out(5:9)); extracts chract...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to delete polyline from Drawpolyline matlab function
SatyaPrakash - if you have an array of polyline objects and you want to delete the 10th item, then you could do delete(polyline...

presque 6 ans il y a | 0

Réponse apportée
Display only 10 data in uitable
joni - you could try to use sortrows to sort your data by the last column. Perhaps the following tableData = [ipk, skor,gjbb,ou...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How can I relate a pushbutton to position?
Han - try using the UserData property of the pushbutton to store the key that the button represents. That way, when the button i...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Game of Life Help
Ahmed - you can use a for loop for your 50 iterations. Just do for k = 1:50 for i= 1:n for j = 1:n gr...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
uiopen() in App Designer to read audio data
Stance - see the Share Data Within App Designer Apps which indicates that Using properties is the best way to share data within ...

presque 6 ans il y a | 1

Réponse apportée
need help in making circles move with some velocity
Faiza - try the following function myMainFunction close all; % initial position for five circles xobs=[1.5 4.0 3.2 7.0 8...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to have a waitbar be created at a specific position on the screen?
Michael - yes, you can specify the position of the waitbar. See the Position property of the dialog's name & value pairs.

presque 6 ans il y a | 1

| A accepté

Réponse apportée
How to lower frame rate of a video without changing the duration of the video
Ahmed - since you are downsampling, can't you use the sampling frequencies to determine which frames to extract from your origin...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Show audioinfo in msgbox
okh99 - if you want to use msgbox then you could do something like info = audioinfo(filename); % <---- where filename is the na...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
how to convert audioDatasrore object to .mat file
Niyomi - can't you just use read the next available data file from the AudioDataStore? Something like while hasdata(myAudioData...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
issue when using 'for' and 'elseif'
Ben - from your code, a=readtable('data-all .xlsx','range','G2:G500'); a.Properties.VariableNames = {'waveheight'}; it looks...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Using load() Command for Two Columns
Anthony - from load, If filename is an ASCII file, then load(filename) creates a double-precision array containing data from the...

presque 6 ans il y a | 0

Réponse apportée
How to write a new column in a text file?
Cretu - when you open the file with the 'a' permission, the data will be appended to the end of the file. Since you want to add ...

presque 6 ans il y a | 0

Réponse apportée
Update progress bar during executing "movefile" commnad
Majid - are you moving the folder or each file in the folder? If doing the latter, you would know how many files to move and the...

presque 6 ans il y a | 0

Réponse apportée
I want to call google chrome brower from matlab using start command.
Mudassir - remove the single quotes around the variable x = 'start https://www.google.com/'; system(x);

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Want to fill a 297x33x73 single matrix with NaN's to get 365x33x73 one
Jeaustin - if X is your 297x33x73 matrix, then you might be able to do augmentedX = nan(365,33,73); augmentedX(1:297,:,:) = X;...

presque 6 ans il y a | 0

Réponse apportée
I need help with the come I am confused.
Diana - you will need to create an axes so that you can display the image to. Since you are using GUIDE, you will use the GUIDE ...

presque 6 ans il y a | 0

Réponse apportée
I am having a problem in solving a coursera assignment can you please help me
Nikhil - Iook closely at this code if limit<18 too_young=true; else too_young=false; end Why isn't age being used?...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Issue with if else elseif and while
frakenberry - the problem might be the first line in the body of the if statement if app.NEQCurrentCount < app.NumberOfNEQQuest...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How do I calculate the sound frequency of a .wav file (or multiple files)?
Lukas - consider using fft to determine the frequency of the piano key (I'm assuming one key per wav file). See the examples fro...

presque 6 ans il y a | 0

Charger plus