C*: pitch
The axes is the most documented one. Maybe because it is the less easy to understand. Of course other post will consider the two other axes.
The complication arise when thinking of what can be controlled:
- the plane's stability (called "assiette" in french) and therefore the pitch rate.
- the angle …
Read More
C*: flight control
C* testbed (Photo credit: Wikipedia)
I begun a serie of post dedicated to fly-by-wire explanation. I focus on C* command law as it is the most documented one. All posts from this serie will be available under the C* tag on this blog.
Some of the article are in french …
Read More
Markov notes: requirements, protocol and biblio
I want to focus on notes changes. this is what I want to analyze some music sheet to count changes.
State of the art
The first article I found is [paiement2007][1. Paiement, J. F., Grandvalet, Y., Bengio, S., & Eck, D. (2007). A generative model for rhythms. NIPS’2007 Music …
Read More
R mclapply cores option
This morning, I found the default behavior of the mclapply() function not quite different from the one of the lapply(). After quick investigation, I found is was due to an option not correctly set: the number of core to use.
> getOption("cores")
NULL
I must then overwrite the default mc …
Read More
R read lists from file
[caption id="" align="alignright" width="350"]
Doubly-linked list (Photo credit: Wikipedia)[/caption]
This a retranscription of a post on stackoverflow.
The solution I keep is using the following command
a <- strsplit(scan("data.txt", what="", sep="n"), "t")
Read More
SQL like aggregation in R
[caption id="" align="alignright" width="75"]
Group by (Photo credit: Wikipedia)[/caption]
The
use case is similar to the one descibe in usual
SQL quick reference guide at the "group by" section.
first of all, I need a dataset as one data.frame:
d <- data.frame(product=sample(c("fruit …
Read More
evaluation of exploration values
For some application, it is usefull to evaluate some physical value over a grid. For each dimension of the grid, the order of magnitude to use is not obvious.Watch movie online The Transporter Refueled (2015)
grid evaluation
the function …
Read More
unfactor R factor
Consider the following R code:
a <- factor(floor(rnorm(100))) class(a) summary(a)
Why should you have that? great question. Maybe because of memory
place. I really don’t know, but I received some R dataset in the form
of a factor. My problem is to revert this process …
Read More
R read.table and special characters
[caption id="" align="alignright" width="350"]
read.on.table (Photo credit: Wikipedia)[/caption]
Read More
languages popularity
I found a study from
IEEE
on popularity of programming languages. I note:
- The languages I use are in the top 10 (
R , C)
- C is always use in many
- scripts languages are widly used (you can find a shell or a python
inerpreter …
Read More