A résolu


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

plus de 2 ans il y a

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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 ...

plus de 2 ans il y a | 0

| A accepté

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Réponse apportée
Storing data of the whole uitable into a variable
You can use public properties to access variables from an app outside of an app.

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

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

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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...

plus de 2 ans il y a | 0