A répondu
Generating two signals and concatenating them
@Peter Cristian - why are you using 159/12000 ? Wouldn't that correspond to 159/12000 = 0.1325 seconds when you should have...

presque 2 ans il y a | 1

| A accepté

A répondu
A function that replaces any negatives with zeros
@Eric Brown - when you do something like x<0 then this will return a logical array of 0's and 1's, where a 0 indicates that th...

presque 2 ans il y a | 1

A répondu
Unrecognized method, property, or field 'randi' for class 'rl.util.rlFiniteSetSpec'.
@Ankita Tondwalkar - from here, actInfo is an array of rlNumericSpec objects | array of rlFiniteSetSpec objects. I think that yo...

presque 2 ans il y a | 1

A répondu
More performance when updating graph
@Cedric Dunsch - every time you call plot a new graphics object is created for the axes. I recommend that you create one plot gr...

presque 2 ans il y a | 0

A répondu
Using guidata or setappdata seem to call OpeningFcn
@Gorm Dannesboe - I suspect that everytime you call the GUI by name, LoopGainPlotterGUIv1_5, you are creating a new instance of ...

presque 2 ans il y a | 1

| A accepté

A répondu
Probability calculation for Bernoulli trials.
@dlafont - I think you need to update your bn_atleast function so that it returns something. Probably P function P = bn_atleast...

presque 2 ans il y a | 0

A répondu
How do you make the percentage button work on a basic calculator
@Alejandro Mandujano - don't you just want to divide the number by 100? So (assuming your BResultado is a text (not numeric) fie...

presque 2 ans il y a | 1

A répondu
Generate 10000 numbers using RAND with probability
@dlafont - from the error, I think that you have a custom script called rand.m that is is conflicting with the MATLAB rand funct...

presque 2 ans il y a | 1

A répondu
How do I remove apps I do not need?
@Al Thibeault - perhaps with the matlab.apputil.uninstall function. You just need to pass the appId to this function and that sh...

presque 2 ans il y a | 1

| A accepté

A répondu
Making circular agglomerates using equation of circle
@hamzah khan - I think the problem is that diameters of your circles are too large given the limits you impose on your x and y v...

presque 2 ans il y a | 0

A répondu
Relation between two vectors elements
@Lama Hamadeh - consider using intersect and in particular this example.

presque 2 ans il y a | 0

A répondu
Need help with Matlab recording
@Nikos Korobos - you mention a button. Do you want to use this code with a GUI and have the recording continue until the button ...

environ 2 ans il y a | 1

| A accepté

A répondu
I would like to make a rectangle, x goes from 0 to o.1, 0.2, 0,3....etc and fill the rectangle with different colors? what is the best possible approach for this ? thank you
@Zahir Elharith Mohammedelamein Ahmed - consider using rectangle to create multiple rectangles side-by-side. You can set the col...

environ 2 ans il y a | 0

| A accepté

A répondu
Despite going to default, the layout is not the default, and I have to switch between different screens
@John Hey - try redocking the editor by pressing the arrow in the far right corner of the editor and selecting Dock Editor.

environ 2 ans il y a | 0

A répondu
Optimization running. Error running optimization. Your fitness function must return a scalar value.
@esiotlab GEC - it looks like your fitness function is returning an array. You must change your code so that a scalar is returne...

environ 2 ans il y a | 0

A répondu
Plot a histogram from given data.
@Allen Lee - perhaps you can simplify your code to use the histogram edges so that you don't have to sort the data yourself. Som...

environ 2 ans il y a | 1

A répondu
why it does not go to if statement and not only in else?(variable 'omega' might be set by a nonscalar operator)
@Abdulmuti Ehsan omega is an array omega=15.*(LST-12) where LST=[6:18] . So for the condition if omega>0 what do you mean...

environ 2 ans il y a | 0

A répondu
Matlab GUI popupmenu problem
@Huda M - the red text in your screen shot is the error message so it is telling you what is going wrong. It would be helpful to...

environ 2 ans il y a | 0

A répondu
Issue with length function
@julian gaviria - why aren't you using the i in your loop? for i=1:length(dir(fullfile(SourceFolder,'f*'))) copyfile(fullf...

environ 2 ans il y a | 0

| A accepté

A répondu
Need help with creating histogram
@Yash Raj Haldaniya - you perhaps want to defined the edges as indicated at bins with bin edges.

environ 2 ans il y a | 1

A répondu
How to output individual digits from a user input of 2 digit numbers?
@Jacob Boulrice - rather than having n be an integer, perhaps it should be a string so that you can parse the first and second c...

environ 2 ans il y a | 0

A répondu
How to record time and position of a mouse cursor simultaneously and save it in file using "GUIDE"?
@Franck paulin Ludovig pehn Mayo if you need to use GUIDE, you could do the following in whatever callback that would start the ...

environ 2 ans il y a | 1

| A accepté

A répondu
How to solve too many arguments error in the bold part
@Maimoona Asad - I see the same error when I run your code Error using alpha Too many output arguments. Error in myfunction...

environ 2 ans il y a | 0

A répondu
I want a function to be repeatedly called within an AppDesigner application
@Jeff Beckstead - you could perhaps use a timer to periodically call your function. The timer might start when the app starts an...

environ 2 ans il y a | 0

A répondu
Changing of Panel Border Color
@Mathias Gießler - from Panel Properties, it says something similar: This property is valid only for panels in apps created usin...

environ 2 ans il y a | 1

| A accepté

A répondu
How to save each time step of for loop with a different .txt name
@Flavio Croce - if you just want to change the extension, then you could do something like [~,name,~] = fileparts(files{i}); w...

environ 2 ans il y a | 0

| A accepté

A répondu
How to Add Fitness Limit as Stopping Criterion in Genetic Algorithm?
@Dario Miric - from Stopping Conditions for GA, it mentions that for all of the different stopping conditions, the algorithm sto...

environ 2 ans il y a | 0

| A accepté

A répondu
uigetfile for loading the mat file from different folder
@Prasad Joshi - try using load to load the variables from file into the workspace. I think that is all that you are missing once...

environ 2 ans il y a | 0

| A accepté

A répondu
Undesirable size of resized images
@Daeyeon Koh - I think that you are saving the figure rather than the image that is displayed in the figure to the file saveas(...

environ 2 ans il y a | 0

A répondu
Open file selection dialog, and get an error message when no file is selected
@Hidd_1 - on my version of MATLAB (2021a), if I don't select a file, then the parameters file and filepath are 0. You could add ...

environ 2 ans il y a | 0

| A accepté

Charger plus