H R
Followers: 0 Following: 0
Statistica
RANK
3.960
of 295.527
REPUTAZIONE
13
CONTRIBUTI
42 Domande
4 Risposte
ACCETTAZIONE DELLE RISPOSTE
45.24%
VOTI RICEVUTI
3
RANK
of 154.057
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
A quick way to make sure the columns in each row are decreasing for matrix A
Hello everyone, I have a matrix A with 100 rows and 20 columns. I would like to ensure that for evry and each row "i", the va...
quasi 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Training a neural network that can map random variables to timeseries
Hi All. I have a numerical model, which accepts the vector X ( say three real parameters), and generate two timeseries y1(t), an...
quasi 2 anni fa | 0 risposte | 0
0
risposteK-mean Clustering
Plese see: https://www.mathworks.com/help/stats/kmeans.html. If your data is in a matrix format X, then you can use the followi...
circa 3 anni fa | 1
How to use spline interpolation to find intersection point of two lines.
How about this? clc clear all x = -10:1:1; y1=-x; y2=x+6; %spline1 s1 = spline(x,y1); %spline 2 s2=spline(x,y2); % fin...
circa 3 anni fa | 0
| accettato
Domanda
How to remove the for loop from the following code?
'Index' is an array of length N. Every elemnt of the array Index is an integer (from 1 to 7) "xxtr" is a sample matrix with siz...
circa 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Plotting 2D curves with specific colors for certain curves
Hi all. I have 1000 simple 2D curves (data = rand(1000,20)). X axis for all is from (x=1:20). Each curve has an index between 1 ...
circa 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Gaussian process regression optimization
Can anyone please let me know how can I exclude some Kernel functions from being optimized in the following regression process? ...
circa 3 anni fa | 0 risposte | 0
0
risposteDomanda
extract data from a 1D vector with a pattern
I have a 1D vector A=[1:1000]. I would like to start from the first elemnt of A and automatcially extract every first 16 elemnts...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
How to do logarithmic downsampling
How to downsample the data in a vector by only keeping n samples per each log-cycle? For example I would like to downsample the ...
oltre 3 anni fa | 0 risposte | 0
0
risposteDomanda
Matlab clears persistent and global variables in fmincon when activating UseParallel
It seems matlab clears all global and persistent variables within the objective function when using "UseParallel" in fmincon. I ...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Kill a system process if it takes too long
I use a system command to run an external program PERR that takes the input file DATA.data + some other arguments to run. After ...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
A Suitable Machine Learning Technique to Learn Y=f(X,t)
I have a blackbox model that accepts an input vector X (variables) and gives three outputs Ys but as a function of time Y1(t), Y...
oltre 4 anni fa | 1 risposta | 0
1
rispostaSolve for ODE question
This is similar to an SIR model. There are plenty of simple to complex source code for this https://www3.nd.edu/~nancy/Math2075...
oltre 4 anni fa | 1
| accettato
Domanda
Some workers go idle in parfor creating a waste of computation time
Hi all, I have a for loop of 90 iterations (array xx has 90 rows and say 20 colums - each row is an iteration). Each iteration ...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Matlab parfor on Slurm
Hi All, I want to run a parfor on matlab using Slurm job submission on the cluster. I want to use 15 workers for the parfor. E...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Is there a quick way to put the contents of all subfolders to the parent folder
Hi, I have a folder (A) with lots of subfolders say RL1,RL2, ....RLn. Each subfolder has different contents. Is there any way...
quasi 5 anni fa | 0 risposte | 0
0
risposteDomanda
Using parfor with a structure
Hi All. I have a qyucik question on the use of parfor and an structure: A code I have runs perfectly with for loop as follows: ...
quasi 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Make matlab write to a text file WITHOUT scientific notation.
Hi there, I have a matrix say 5*5. The matrix contain some numerical values with many digists shown in scientific notation. I ...
quasi 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to delete the columns of a cell array if the last elements of the columns are zero
Hi All, I have a large cell arry PP with three rows and lots of columns as follows: 'A.txt' 'A2.bmp' 'A5.jpg' 1.1 1.3 1.4 ...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Open a jpg picture for each data point by clicking on the plot
Hi there. I have a simple 2D data set (x,y). Each point (xi,yi,i) (i=0,..n) corresponds to a JPG picture. The JPG names are (0....
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
replacing the content of a text file
Hi all. I have a text file "A.txt". I have a string S='Hello World'. How to delete from line 10 to the end of file in "A.tx...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Precision lost when change numbers to string
Hi I am trying to use the following to generate a string. A is is 1D array containing 4 real numbers that have large decimal pr...
quasi 7 anni fa | 2 risposte | 0
2
risposteDomanda
Generate a single string from a matrix (or cell)
Hi. I have a vector A that is [1:5]' and also I have a string 'Hi'. (I just use a of length of 5 for simplicity, but can be la...
quasi 7 anni fa | 1 risposta | 0
1
rispostaDomanda
Logarithmic spaced vector with a known sum
How to generate n logarithmic(or geometric) spaced numbers between a and b such that sum of them be a real number A ?
quasi 7 anni fa | 0 risposte | 0
0
risposteDomanda
Function counts using parallel Fmincon
Hello all, I would like to use parallel fmincon. The function receivea an input vector X, generates a file name say Filei.txt...
circa 7 anni fa | 1 risposta | 0
1
rispostaDomanda
Only upper triangle part of plotmatrix function
Hello, Is it possible to only plot the upper triangle part of the matrix plots when using 'plotmatrix' function? matrixplot ge...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
Delete lines n to m in many text files
Hello there, I have 500 text files with names R1.txt to R500.txt. How can delete lines 5002 to 5012 from all the text file...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
parfor and persistent variables
Dear all, I have a matlab function that accepts a set of parameters say (query array), generates a unique input data (text) f...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
Creating a Parfor loop for multiple function evaluation
Hello. I want to use parfor to reduce the calculation time for a loop I have by evaluating 6 functions at the same time. Could y...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
Running an external program from matlab linux
Hello. I have an external program called Lin.exe. This program accept (read) one file and write to another file. In windows cmd...
oltre 7 anni fa | 1 risposta | 0