Community Profile

photo

Sven


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
Drop Down Menu App Designer Values
The code won't execute because, it is a ValueChanged function which means it has to detect a change in its value to do something...

environ 5 ans il y a | 1

| A accepté

A répondu
Index in position 1 exceeds array bounds (must not exceed 6). Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
You wrote 2.6366^10-4 instead of 2.6366*10^-4 You could also write it like this 2.6366e-4 This solved any errors and...

environ 5 ans il y a | 1

| A accepté

A répondu
How can I check if a specific set of numbers are present in my array?
This example is even fast for large arrays and looks easier to understand. So depending on how large the array you are searching...

environ 5 ans il y a | 0

A répondu
Error using grid. Too many input arguments.
As already pointed out, just look at what gets constructed if you call struct('grid', 'on', 'legend', {'y = x^2', 'Location', ...

environ 5 ans il y a | 0

| A accepté

A répondu
how to define a sinusoid function over a specific range
f = 10; % Frequency in Hertz a = 2; % Amplitude startTime = 0; % Time in seconds endTime = 10; % Time in seconds samp...

plus de 5 ans il y a | 0

A répondu
How can I write "Cnet" in the legend but with "net" used like superscript?
Superscript legend('C^{net}') Subscript legend('C_{net}')

plus de 5 ans il y a | 0

A répondu
For Loop Moving Through Array
The problem is that you are not using the index N. A = (Array(1,1)*Z)/Array(1,2); This line doesn't change, so you will ...

plus de 5 ans il y a | 1

| A accepté

A répondu
Plotting sine wave using rad/samp
Almost correct. You need to change your r vector to get the correct time vector, because you only want to plot the sine wave for...

plus de 5 ans il y a | 0

| A accepté

A répondu
How to import txt.-files with different columns and numbers/letters?
Try using readtable() instead. This will import all your data, but changes all data to character vectors. If you want to further...

plus de 5 ans il y a | 0