# Erez

Active since 2014

Followers: 0   Following: 0

#### Feeds

View by

Question

How to 1. view a .lyrx file as a "heat map"? 2. Import the .lyrx file into a 2-d matrix?
I have a .lyrx file, generated by GIS, where different points on the map were assigned some values that represent local temperat...

2 months ago | 0 answers | 0

### 0

Question

Matlab: How to plot the function $P(x)$ versus $x$, where $P(x)=\int_0^\infty f(y)W(x,y)dy$?
In Matlab: How to plot the function versus , where ? I have obtaind the an array of values for through some (lon...

2 years ago | 1 answer | 0

### 1

Question

How to add a force to Langevin equation with parfor?
The code below iterates over a simple Langevin equation, representing Brownian motion of 10^5 particles . tic...

3 years ago | 1 answer | 0

### 1

Question

Generating random numbers from Alpha-stable pdf which expends in time (in a loop)
I asked first on another site, decided to ask here because I go no answers. The following line of Matlab code generates 100000...

4 years ago | 0 answers | 0

### 0

Question

How to use the Hurwitz-Lerch transcendent function in Matlab?
The Hurwitz-Lerch transcendent function is defined as A particular case of this function, when z=1, is the Hurwiz Zeta...

4 years ago | 0 answers | 0

### 0

Question

Generate array of y values, from the numerical solution of f(y)=x, where x is an array of numbers
How can I generate array of y values, from the numerical solution of , where x is an array of numbers, if I assume that: a. for ...

4 years ago | 1 answer | 0

### 1

Question

Find series of maxima of array (and matrix) within blocks of size n
I have a simple problem, and it's, perhaps, less simple extension: I have an array A=[1 2 5 1 0 0 5 0 1 2 4 0 5 3 2 0 1 0 0 ...

4 years ago | 2 answers | 0

### 2

Question

Find indicies of unsorted locations in an array
I have a long array, e.g. A=[ 1 2 5 8 7 9 110 100] I want to get an array B, which contains the left-index of the p...

5 years ago | 0 answers | 0

### 0

Question

Obtaininig an array, which corresponds to one one of the diagonals of a given matrix, without using loops
I have a matrix mXm, like the following (5X5): 1 2 0 8 5 1 2 3 8 7 8 5 0 3 5 6 7 4 8 2 1 2 0 4 5 I want to obta...

5 years ago | 2 answers | 0

### 2

Question

Define vector that assigns element positions in VecB, corresponding to values in VecA, when length(VecA)>length(VecB)?
I have an array VecA=[0 1 0 -1 0 1 -2] and the vector VecB= [-2 -1 0 1 2] I want to creat a vector of...

5 years ago | 1 answer | 0

### 1

Question

color map in 3d plot, based only on the values of the z-axis?
I have a 3-dimensional plot of a curve, based on: xx=0:9; yy=[-5:0 -1:-1:-4]; zz=[1:5 4:-1:0]; plot3(xx,yy,zz,'-...

5 years ago | 0 answers | 0

### 0

Question

A the surface x->-10:10, y->-10:10, z=0 to a plot of a curve in 3d (using plot3 in Matlab 2014b)?
I have a curve in 3-dimensions, corresponding to xx=0:9; yy=[-5:0 -1:-1:-4]; zz=[1:5 4:-1:0]; plot3(xx,yy,zz,'-o...

5 years ago | 1 answer | 0

### 1

Question

Plotting a radial function f(r), in a 3d isotropic way, with axes (x,y,z=f(x^2+y^2)).
I have a function f(r), where r=sqrt(x^2+y^2). In my data r, is an array which takes values from [0,8], for example: f(r)=sin(r)...

6 years ago | 2 answers | 0

### 2

Question

Combine two existing Matlab figs, into one figure with two y axes (keeping the respective axes titles and units)
Hi, I have two Matlab figs, although not the original data in a *.mat file, which share the same 'x' axis, but not 'y' (one cu...

6 years ago | 0 answers | 0

### 0

Question

Plot only every n'th dot, change from figure menu without extracting the data
I have a figure with many curves on it. I wish to change the frequency of the dots only for some of the curves. Is there a way...

6 years ago | 2 answers | 0

### 2

Question

How to use latex's \mathcal{Z} in the axis labels of a Matlab figure?
How to use latex's \mathcal{Z} in the axis lables of a Matlab figure?

6 years ago | 1 answer | 1

### 1

Question

Using gpuArrays to speed up a simulation (utilizing an NVIDIA GPU)
I have a Matlab simulation which updates an array : Array=zeros(1,1000) as follows: for j=1:100000 Array=...

6 years ago | 1 answer | 0

### 1

Question

How do I perform a mathematical operation on the data and the axis of a .*fig, such as re-scaling?
I have a figure with several functions plotted on it. I don't have the original data for all the function in arrays or matrices....

8 years ago | 1 answer | 0

### 1

Question

If I run the same script simulatneously on deifferent windows, can I get false results?
If I run the same script simulatneously on deifferent windows, but with different parameter which I put in by hand, can I get fa...

8 years ago | 1 answer | 0