Solved


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

2 years ago

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

Solved


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

2 years ago

Solved


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

2 years ago

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 1

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

2 years ago | 0