Beantwortet
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...

12 Monate vor | 1

| akzeptiert

Beantwortet
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...

12 Monate vor | 1

Beantwortet
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...

12 Monate vor | 1

Beantwortet
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...

12 Monate vor | 0

Beantwortet
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 ...

12 Monate vor | 1

| akzeptiert

Beantwortet
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...

12 Monate vor | 0

Beantwortet
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...

12 Monate vor | 1

Beantwortet
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...

12 Monate vor | 1

Beantwortet
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...

12 Monate vor | 1

| akzeptiert

Beantwortet
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...

12 Monate vor | 0

Beantwortet
Relation between two vectors elements
@Lama Hamadeh - consider using intersect and in particular this example.

12 Monate vor | 0

Beantwortet
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 ...

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
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...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
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.

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 1

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 0

| akzeptiert

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

etwa ein Jahr vor | 1

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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 ...

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 0

Beantwortet
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...

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
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...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
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...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
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...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
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(...

etwa ein Jahr vor | 0

Beantwortet
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 ...

etwa ein Jahr vor | 0

| akzeptiert

Mehr laden