Community Profile

photo

Lucius


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


What's the syntax for plotting a few celestial lines?
I need a graph of containing the galactic equator and ecliptic with two border lines each converted into right ascension and dec...

8 years ago | 1 answer | 0

1

answer

Question


How to make a 2D scatter-plot with histogram bars for each axis?
While I managed to draw a - yet - quite ugly 2D scatter plot of two data sets into the same plot, I'd like to add histogram bars...

9 years ago | 1 answer | 0

1

answer

Question


How to sum over indexed arrays
I have 3 arrays of the same dimension, having the same name but with indexes. How can one sum over the elements. clear all...

9 years ago | 1 answer | 0

1

answer

Answered
How to read variables from one file in another file?
I was lacking a clear all; close all; at the beginning. That was all and now it works

9 years ago | 0

| accepted

Question


How to read variables from one file in another file?
We have a file example.m with a variable abc=3.2. How can I load this variable abc from another file test.m in the same director...

9 years ago | 2 answers | 0

2

answers

Question


How to turn gray layers into RGB layers?
I have a normal image that I split into its RGB layers, where I make some magic with them. In order to show how the magic influe...

9 years ago | 1 answer | 0

1

answer

Question


How to plot measurement points with x and y error bars, as well as a regression line
I have a file full of measurements and errors for x (RA) and y (Dec) and would like to have them ploted with an additional regre...

9 years ago | 1 answer | 0

1

answer

Question


How to stack colour layers
I have an initial picture and make some calculations with the individual colour layers in a for-loop going through the 3 layers....

9 years ago | 1 answer | 0

1

answer

Question


How to save memory: loops or copy paste
I am wondering how one can save precious RAM in order to be able to handle larger arrays or more complex stuff. Which uses le...

9 years ago | 2 answers | 0

2

answers

Question


NxN Matrix with sinusoidal element values
I would like to create an N x N matrix with its entries to have values in a shape of a sinus curve when ploted. E.g.: let's take...

9 years ago | 2 answers | 0

2

answers

Answered
Choose certain matrix elements from a matrix
What would be the subsequent code-line if one wants to apply an operation to the Efield_x(isWithinCircle) plus the matrix elemen...

9 years ago | 0

Question


Choose certain matrix elements from a matrix
I have an NxN matrix and define a circle of a certain radius. All encircled matrix elements are 1 and the rest 0. Afterwards, I ...

9 years ago | 3 answers | 0

3

answers

Question


How to avoid double for-loop
I have the following code for n = 1:N for l = 1:N phase = exp(1i * (rand*0.5*pi-0.25*pi)); ...

9 years ago | 1 answer | 0

1

answer

Question


Simulate a multi-segment parabolic mirror matrix
I need to simulate the overall design of the Giant Magellan Telescope (GMT). The GMT has not a single primary mirror but 7 singl...

9 years ago | 0 answers | 0

0

answers

Question


Parabolic mirror with central hole
What is the matrix element of a parabolic mirror with a central hole?

9 years ago | 0 answers | 0

0

answers