photo

Tony


Last seen: 4 Tage vor Aktiv seit 2024

Followers: 1   Following: 0

Statistik

  • 3 Month Streak
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
How can I make a combination/permutation of all possible values with a given subset of data?
Below is example code for running through all combinations of a simpler problem of just 9 regions (A1:A3, B1:B2, C1, D1:D3). You...

4 Monate vor | 1

Beantwortet
How do I create surface between curves of differing amounts of data points
One method is to expand to use the union of reference data points, and then apply the two functions to the union reference x1=l...

5 Monate vor | 1

Beantwortet
Tiledlayout: Make Plots of unequal width
If your sizing is small integer ratios, then you can control the size of the group of tiles the individual plots span plot_span...

5 Monate vor | 0

Beantwortet
Average Calculation and Array in For Loop
In the first iteration, it's attempting to calculate the average of the "0th" minute, through the first two lines in the else bl...

6 Monate vor | 0

Beantwortet
Optimize loop to reduce run time
Since the calculations of the inner-most loop are independent among its iterations, you can parallelize the computations (run mu...

6 Monate vor | 0

Beantwortet
add / interpolate arrays of different length
Here's one way to do it by piece-wise integration by checking which interval you are. tsol = linspace(0,1,9); ysol = sin(tso...

6 Monate vor | 0

Beantwortet
Set marker alpha transparency based on point density for scatter plot
Not sure about changing marker transparency, but an indirect way is to change the 'lightness' of the marker color c_max = [0 0 ...

7 Monate vor | 0

Beantwortet
Error with the animation of the surface plot
eff is three-dimensional, but the argument in surf must be two-dimensional. If you fix eff for a specific flux, that should work...

7 Monate vor | 0

Beantwortet
How do I utilize a function with multiple outputs within another function?
A workaround is to avoid the sort function and calculate the ranks yourself by counting how many elements in the array are <= ea...

7 Monate vor | 0

Beantwortet
I have 2 graphs , on the Y axis I have Acceleration in graph. 1 and Speed in graph 2. And on the X axis for both I have Period (Seconds). How can I create a third chart?
If you want to make three graphs in one window, try subplots. figure(1); subplot(1,3,1); plot([0 1], [0 1]); title('Accelera...

7 Monate vor | 1

Beantwortet
How to store the name of a variable as a string variable?
Structures are one way of having dynamic variable names that you can refer using strings. Not sure if you can rename an existing...

7 Monate vor | 0