Community Profile

photo

Sven


Attivo dal 2018

Followers: 0   Following: 0

Statistiche

  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

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

circa 5 anni fa | 1

| accettato

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

circa 5 anni fa | 1

| accettato

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

circa 5 anni fa | 0

Risposto
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', ...

circa 5 anni fa | 0

| accettato

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 0

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

oltre 5 anni fa | 1

| accettato

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

oltre 5 anni fa | 0

| accettato

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

oltre 5 anni fa | 0