photo

Tony


Last seen: 4 días hace Con actividad desde 2024

Followers: 1   Following: 0

Estadística

  • 3 Month Streak
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
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 meses hace | 1

Respondida
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 meses hace | 1

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 1

Respondida
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 meses hace | 0