Community Profile

photo

H H


Last seen: 1 month ago
35 total contributions since 2015

H H's Badges

  • Knowledgeable Level 1
  • First Answer
  • First Review
  • Thankful Level 2

View details...

Contributions in
View by

Question


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

5 months ago | 1 answer | 0

1

answer

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

6 months ago | 1

| accepted

Question


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

6 months ago | 1 answer | 0

1

answer

Question


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

6 months ago | 1 answer | 0

1

answer

Question


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

8 months ago | 0 answers | 0

0

answers

Question


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

9 months ago | 1 answer | 0

1

answer

Question


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

10 months ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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 ?

3 years ago | 0 answers | 0

0

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


Matrix calculation without a For loop
Hi. Suppose A is a 1D matrix of [1 by N], and D and C are two square matrix of [N by N]. I would like to calculate D and C with...

3 years ago | 1 answer | 0

1

answer

Question


Merge two arrays one after each other by elemnets
I have an array a1=[1 2 3 4 ... 50] I also have string '*GOAL' I want to create a single string B that can produce: *GOAL...

3 years ago | 1 answer | 0

1

answer

Question


generate a matrix from some vectors
Hi, I have an array A0 (with 1 by n elements), representing a sample with n variables. I also have two arrays LB and UB (each...

3 years ago | 1 answer | 0

1

answer

Question


Repeat a string several times and put it somewhere in a text file
1.a: I have a piece of code that generates a particular text 10 times (see below), how can I do this without a loop? 1.b. I h...

3 years ago | 1 answer | 0

1

answer

Question


How to select diagonal subplots of fig1 and put them into a new fig subplot
I have a figure with 17*17 subplots. How can I select the diagonal subplots of this figure and put them into a new figure with s...

4 years ago | 0 answers | 0

0

answers

Question


too many subplots- not visible output
I have a matrix of 17*17 subplots as an output of a process. When I run the script to show the matlab figure with subplots, they...

4 years ago | 1 answer | 0

1

answer

Question


The global variable is lost between workspaces
I have written a matlab file (base.m) for an optimization problem that uses the genetic algorithm also in which I declare a glob...

4 years ago | 1 answer | 0

1

answer

Question


Does fmincon implement any types of self-scaling approach for BFGS or LBFGS?
Do you have any idea that if matlab's fmincon with "BFGS" and "L-BFGS" is using any type of self-scaling of Hessian at each iter...

4 years ago | 0 answers | 1

0

answers

Question


Replace a string in a file with a 1D array--please don't close it
Hi all, Please help me with this question. I have been trying to find a simple way to do so. Please don't close this. I ha...

4 years ago | 0 answers | 0

0

answers

Question


Replace a string in a file with a 1D array but in multiple lines
Hi all, Please help me with this question. I have been trying to find a simple way to do so. I have a 1D number array wit...

4 years ago | 1 answer | 0

1

answer

Question


replace a string by a cell array in a text file
Hi, I have a text file 'TEXT.txt' with the following format DATA [$1] / I would like to use strrep('TEXT.txt', '[$...

4 years ago | 2 answers | 0

2

answers

Load more