Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mehr als 2 Jahre vor

Beantwortet
Adding Contour Lines to a 2D Surf Plot
Replace surf(A,B,C) with s = surf(A,B,C); From there you can use dot notation to access the properties of the surface objec...

mehr als 2 Jahre vor | 0

Beantwortet
How to modift gplotmatrix legend marker size?
https://www.mathworks.com/help/stats/gplotmatrix.html?s_tid=doc_ta#mw_f131a46d-17ee-4a14-a3b8-45d0317f69bc https://www.mathwork...

mehr als 2 Jahre vor | 1

| akzeptiert

Beantwortet
Several Y axis in the same plot
From the Discussions on File Exchange, it looks like you might jus thave to replace all the occurences of "colorord" with "Color...

mehr als 2 Jahre vor | 0

Beantwortet
How do I plot a direction field for x'=y and y'=-sinx?
% Define the range of x and y values x = linspace(-pi, pi, 20); y = linspace(-2, 2, 20); % Create a grid of x and y values ...

fast 3 Jahre vor | 0

| akzeptiert

Gelöst


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

fast 3 Jahre vor

Gelöst


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

fast 3 Jahre vor

Beantwortet
Storing data of the whole uitable into a variable
You can use public properties to access variables from an app outside of an app.

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
EEG data from Emotiv
First you need to construct a vector representing the time values associated with your data: t = (1:3200)/128; Then you can ...

fast 3 Jahre vor | 0

Beantwortet
edfwrite can not export my signal properly
You're on the right track thinking about the PhysicalMin, PhysicalMax, DigitalMin, and DigitalMax values. You need to specify th...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Timing for referencing EEG preprocessing
Here is a detailed explanation on the biological/electronics theory behind referencing for EEG. https://eeglab.org/tutorials/Co...

fast 3 Jahre vor | 0

Beantwortet
Organising data for Machine Learning
Tables are a useful tool for organizing data in a human-readable way without sacrificing significant memory overhead. This examp...

fast 3 Jahre vor | 0

Beantwortet
Vectorize averaging a timerange in a large timetable
Preallocating your variables before a for loop is a great way to help with performance. arrayfun, cellfun, and structfun are als...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
App control for axes layout
You could attempt to do this using subplot, but it requires a little extra effort than just calling subplot for a standard figur...

fast 3 Jahre vor | 0

Beantwortet
how to show a numerical data on GUI using static text or edit text or any method
If you are using AppDesigner, this page has information on visualizing data in apps. See this page for information on how to sha...

fast 3 Jahre vor | 0

Beantwortet
Land data from multiple subfolders into structure
You are not calling dir properly. The string input to dir should be an absolute or relative path name. Try changing the string t...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
How is the number of weights in the first layer of fitcnet determined?
The matrix "X" in the ionosphere dataset contains 34 features. Your input layer must always have the same number of columns as f...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
Is it possible to send MIDI from Matlab to a DAW?
Generally the process would be to create a virtual MIDI port, send the MIDI messages from MATLAB to this port, and receive the m...

fast 3 Jahre vor | 1

Beantwortet
how to use listbox dialog box result in a switch statement?
You are correct to use the indx value within the switch block. indx refers to the index of the value selected by the user from t...

fast 3 Jahre vor | 0