photo

Atanu


Last seen: 7 jours il y a Actif depuis 2021

Followers: 0   Following: 0

Programming Languages:
Python, C, Java, MATLAB
Spoken Languages:
English, Hindi, Spanish, Bengali

Statistiques

All
  • Thankful Level 4
  • Solver

Afficher les badges

Feeds

Afficher par

Question


How to resolve warning message about broadcast variable while using 'parfor'?
males = {'animal1', 'animal2', 'animal3'}; treatmentGrps = {'T1', 'T2', 'T3'}; nrows = size(featureLists, 1); ncols = size(...

4 mois il y a | 2 réponses | 0

2

réponses

Question


Should I modify x-values for curve fitting with response variable?
I am trying to fit concentration (in x-axis) and approach rate (in y-axis) using a logistic equation. The real values of x are [...

6 mois il y a | 1 réponse | 0

1

réponse

Question


How to fit a sigmoid with an input array?
I have a table which have 3 columns, 'fsiIndex', 'plsIndex', and 'striosomeIndex'. The goal is to plot each index against each o...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


How to do ANOVA repeated measures?
I have 12 Female and 11 Male rats which participate in a sucrose tracking experiment for 4 different levels of sucrose concent...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


How I do overlay 2 Matlab fig files?
I have 2 .fig files I want to overlay. Only difference between them is the trajectory line. I want to keep the legends same in t...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Overlay some line plots selectively from different .fig files in Matlab?
I have some lone plots which I want to merge into a single plot. For example I have attached the screenshots of the raw plots an...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


Why my error handling function not working for multiple outputs?
I am using arrayfun with multiple outputs as following. [entryTime,exitTime] = arrayfun(@(id) entryExitTimeStampFun(id), ... ...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to use 'UniformOutput' and 'ErrorHandler' together in 'arrayfun' function?
I am using 'arrayfun' function to run a function of an array which gives output logical true/false or nan depending upon traject...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to use error handler for arrayfun?
I am trying to apply a function to an big array. The output is a logical output. I checked that this arrayfunction is working fo...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How do I exit a for loop after logical index is found true in an array?
I would like to exit a loop if the result is set to true in the for loop. But it always returns false if I use 'continue'. How d...

presque 2 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
How to add legend to the Figure?
I made patches of same color as rectangle to add legends for them. Also added handle to plot functions to make it uniform with ...

presque 2 ans il y a | 0

| A accepté

Question


How to add legend to the Figure?
I have a plot for which I am trying add legends. I am trying to add the shaded rectangles as well in legend. Please note that th...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to write database query using sprintf command?
I was finally able to solve this by separating '%s' and 'LIKE' in the query string. Here is the code attached. referencetime =...

presque 2 ans il y a | 0

| A accepté

Question


How to write database query using sprintf command?
I have a POSTGRESQL database from which has a column named 'referencetime' which is a timestamp. (e.g. '04/06/2022 12:41:46.5')....

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


Can I return 'nan' value for bad data?
I am writing an algorithm for a big database. I am running the algorithm in a for loop over the database trials. My algorithm wo...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to extract table rows based on a column entry (string) which match a pattern?
I have table where health column contains has similar values, like '1 Hour Saline', '2 Hour Saline', '2 hour Saline', '3 Hour S...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to label X-axis on bar graph?
I want to label a bar graph with a string array. I am using this following piece of code to label them. But it can not convert c...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to set y axis limit same for 2 subplots in a figure object?
I am creating a multiple figure object in a loop, I named it h. (h = figure) Each h contains two subplots. For both subplots in ...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to find the maximum value by comparing 2 cells?
I have 2 cells array, for example A = {2,4,5}; B = {1,10}; How can I find the max value (10, in this case) by comapring cell ...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Why sqlwrite not uploading all columns of the Matlab table to database?
This happened because the columns which did not upload has datatype cell. So, if we convert to string we can upload them.

environ 2 ans il y a | 0

| A accepté

Question


Why sqlwrite not uploading all columns of the Matlab table to database?
I am trying to upload a table to postgresql database. I have attached the table. I am using sqlwrite(conn,tablename,data); Bu...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to group different values in an array?
I have a test column array which contains 4 unique values? I have attached the array. intensityofcostcomposition _____...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


How set table column to modified data?
I am performing same set of operations for all the columns in a table. How do I use a for loop over all the columns for this? I ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to map one array elements to another array elements?
I have an output array which shows to which feeder the animal goes in each trial for 6 trials. There could be only 4 feeders(1,2...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


How to use regex to obtain double values?
I have an array of strings which contains some units. I have attahced the array. unq = ["10 lux";"10lux";"15";"15.0";"15.5 ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How do I assign result array of a loop to a variable name?
I have a for loop which gives an one dimensional array in each iteration. (i.e. [1;2;3;4]) But they could be different in length...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to upload cell data to PostgreSQL database table?
I am trying to upload a MATLAB table to PostgreSQL database. But the columns which contain cell datatypes are not showing up in ...

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Question


How to upload an array of double in postgreSQL?
I have a table in which different columns contain different types of data. I want to upload the table to postgreSQL database. I ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to remove bulbs in the mouse trajectory?
I am trying to remove the bulbs in red circles in the picture to get a smooth trajectory as shown in the picture. The mouse may...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


Why 'NaT' (class: datetime) does not work with find function?
I have a table part of which is attached. The enries in the date column are as datetime. I am trying to get the id where the ent...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Charger plus