Réponse apportée
How to use "record" command for some amount of time?
Oai - from Record audio to audiorecorder object, you can specify the length of the audio recording as r = audiorecorder(8000,16...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Plotting analog input continuously on a given axis
Niraj - if you don't declare daqObj as a global variable, then it will be a local variable. When your function "completes" (afte...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
I get an error when running anomaly time series code in the app designer.
Özge - the output of timeseries is an object and so you need to plot the appropriate data from this object and not the object it...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
nada - I think that you are trying to set the string property for each of the three edit fields to be the same value. Note that ...

plus de 5 ans il y a | 1

Réponse apportée
Issue with plotting multiple data points on same graph
Oscar - look closely at the y-axis for the first image (that which plots both elements). There seems to be a factor of 10^4 so t...

plus de 5 ans il y a | 0

Réponse apportée
matlab.error graphics.internal.figfile.FigFile/read>@(hObject,eventdata)MTF_Radial('pushbutton4_Callback',hObject,eventdata,guidata(hObject)) Error while evaluating UIControl Callback
Nazil - the problem is with your function signature function [IC]=f_SegmentasiHU(img1.IMA); Note how you are defining the (onl...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
App Designer: The Value Assigned Might Not be Used
William - I think that you have your assignment reversed. Instead of Output = trialfunction(app.I_M,filter_size) Output = app....

presque 6 ans il y a | 0

| A accepté

Réponse apportée
image changing gui matlab
So once you have created the salida array you need to determine which GUI action will invoke the process to display all the imag...

presque 6 ans il y a | 0

Réponse apportée
why the error occur when i use horzcat fuction
Shehab - are you sure that the y is a 1x2 array like [2,3]? Or is it a 2x1 array like [2,3]'? If the latter, then you are trying...

presque 6 ans il y a | 0

Réponse apportée
I want to restart the loop from starting when a specific condition is met.
Sanyam - perhaps use a while loop instead. a = table2array(BRTSTestData); c = 20; f = 1; s = 0; i = 1; while i <= 5 f...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Errors in Simulated Annealing (simulannealbnd) algorithm.
Giuseppe - the error message is telling you that the code in your ForexFun is NOT using positive integers or logical values when...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
The function sqlread isn't working
cief - according to the sqlread documentation, this function was introduced in R2018a. It seems that you will need to upgrade fr...

presque 6 ans il y a | 1

Réponse apportée
function inside main program
Chrys - in your function, you are referencing the variable X but it isn't been defined either within that function or passed in ...

presque 6 ans il y a | 0

Réponse apportée
plotting a multiple output function
Moussa - rather than trying to calculate and plot the results of the myrct in one like like plot(myrct(t,f,beta)) split this i...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How can I create the slider in my data range and how can my slider auto scroll until my data ends in app designer?
Özge - I think that all you need to do is to change the slider limits so that you can change the mininmum value (0) and the maxi...

presque 6 ans il y a | 0

Réponse apportée
Nested For Loop; Combine Two for loops
Elizabeth - perhaps you can combine the two as follows sigmasub_val = 0.1:0.1:3; outputData = zeros(length(sigmasub_val), 2); ...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Input and Output GUI using Guide
Dina - when you create a variable like m within your callback function, it is local variable to that function and is not accessi...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Saving struct to excel
Deepa - you can use fieldnames to return a cell array of the field names for your structure. You can then iterate over each name...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Please find the error
vidushi - the problem is with this line total=[total,sum(v(ii):v(jj))]; and in particular the inputs to the sum function. Her...

presque 6 ans il y a | 1

Réponse apportée
square gridlines in the figure
Ugur - it could be that your axes do not have the same data unit lengths. Try using axis equal to ensure the same spacing on e...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Graph handles in loops
Michael - since you have already created the handles with the code for j = 1:numObjects handles(j) = plot(stuff(1)); end ...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
i did this but cant sure about my howemork question 2. can anyone help me?
Emre - the question is asking you to write a function called threshold that determines the number of terms required for the sum ...

presque 6 ans il y a | 0

Réponse apportée
After i generate random numbers of x, how can i use this random x values to the rest of the code one by one. Because after that, I want to plot a friction factor-x number grapt with this different numbers
isilay - since x is an array then you can use element-wise power to calculate the friction factor. Just change your line of code...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
how to write if statement for matrix ?
Ibrahim - what are you trying to do here? Just display (with disp) a message depending upon whether an element is a zero or not?...

presque 6 ans il y a | 0

Réponse apportée
How to take values from a matlab file
Max-Henri - since you are loading a mat file, perhaps you can use load instead. Something like [filename, pathname] = uigetfile...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
HOW TO MAKİNG PASCAL TRİANGLE !!!
emre - your code needs a third loop to countdown from the middle number to 1. Just add the following code after the second loop ...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
slider for march chart
Lev - why in your SliderValueChanged callback are you overwriting the Slider with its value? I suggest that you remove this func...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Update app designer field in external function
Koen - it looks like your sim_cooling_GUI is a function (since you are passing in the app.GUI_Settings so why not just pass in t...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Error: Index exceeds the number of array elements(1)
Tatiana - the problem is that a is initialized as a scalar but it is treated as an array at the line A= [A, x, a(x), b(x), z]; ...

presque 6 ans il y a | 0

Réponse apportée
How to access a certain line or box in powerpoint via Matlab ?
farzad - from mlreportgen.ppt.Paragraph class, paragraphObj = Paragraph(text) creates a paragraph that contains a mlreportgen....

presque 6 ans il y a | 1

| A accepté

Charger plus