Community Profile

photo

Lucius


Aktiv seit 2015

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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

fast 9 Jahre vor | 0

| akzeptiert

Frage


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

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

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

etwa 9 Jahre vor | 0

Frage


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

etwa 9 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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)); ...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten