python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Fastest way to store 3D numpy array in a loop
I need to store a numpy array of shape (2000,720,1280) which is created in every loop. My code looks like:
U_list = []
for N_f in range(N):
U = somefunction(N_f)
...
Archimedes_91
Votes: 0
Answers: 1
How do I create a symmetric matrix with a linearly decreasing diagonal in MatLab?
I'm trying to create a symmetric n by n matrix where the symmetry line is linearly decreasing from n to 1.
For example a 5 by 5 would be:
5 4 3 2 1
4 4 3 2 1
3 3 3 2 1
2 2 2 2 1
1 1 1 1 1
Thanks
SeanBeggan
Votes: 0
Answers: 2
Matlab WebApp export image and string data possibilities
I have a Matlab WebApp deployed on which I want to build an excel file with 3 different sheets that have ["Input Data", "Matlab Plots", "Export Data"].
On the "Input...
Gabriel Daniliuc
Votes: 0
Answers: 1
Error: /bin/bash: matlab: command not found when try to start matlab from a jupyter notebook
i'm new here and i'm a bit frustrated cause of the in the title mentioned error. Probably it's something easy but i'm a linux beginner...
I use Linux Mint 20.3, have installed Jupyter notebook via ana...
strom
Votes: 0
Answers: 1