Question

Finding the time in which a specific value is reached in time-series data when peaks are found

I would like to find the time instant at which a certain value is reached in a time-series data with noise. If there are no peak...

5 days ago | 1 answer | 0

Question

Requested array exceeds maximum array size preference

I get the following error while trying to call odenumjac. Requested 35036x35036 (9.1GB) array exceeds maximum array size pre...

2 months ago | 0 answers | 0

Question

how can I vectorize my code when multiple variables are present

Hi All, This is a follow up to my previous question here. I'm trying to figure out how to vectorize my code when multiple vari...

2 months ago | 1 answer | 0

Question

issue with vectorization of ode

Hi All, This is a follow up to my previous question here. I'm trying run the code below. global mat1 mat2 k k = 2; mat1=[ ...

2 months ago | 0 answers | 0

Question

What's going wrong in the vectorization of my ode function?

Hi All, I'm trying to setting `vectorization` = 'on' in the ode settings and I clearly don't understand what's going wrong g...

2 months ago | 1 answer | 0

Question

finding non-zero entries of a matrix

Hi All, I've 2 matrices, A and B. A = [1 0 2; 3 4 5; 0 0 0]; B = [0 0 0; 1 0 0; 1 1 1]; I want to generate a matrix C ...

2 months ago | 1 answer | 0

Question

Issue while computing jacobian

Hi All, This is a follow up to my question posted here. I'm trying to find the sparsity pattern of a jacobian in the followin...

2 months ago | 1 answer | 0

Question

Why am I not able to run this code?

global mat1 mat2 mat1=[ 1 -2 1 0 0 0 0 0 0 0; 0 1 -2 1 0 ...

2 months ago | 1 answer | 0

Question

Setting up jacobian pattern in odeset

Hi All, I'm trying to evaluate the jacobian pattern for a toy model x0 = [1 0 0 0 0 0 0 0 0 0]'; tspan = 0:0.01:5; f0 = ...

2 months ago | 0 answers | 0

Question

finding the sparsity pattern of a matrix

I've a matrix created via symbolic multiplication I'm sharing an example of the resulting matrix below (which is the RHS of od...

2 months ago | 0 answers | 0

Question

Does ode15s call BLAS functions?

Hi All, This is a follow up to my previous post here Could someone please clarify if the ode solver calls BLAS functions for...

5 months ago | 2 answers | 0

Question

Question regarding ode15s

Hello Everyone, I'm simulating a system of stiff differential equations of the form using ode15s Y'= (1./Vector1).*(Matrix1...

5 months ago | 1 answer | 0

Question

labels of stacked plot

Hi All, I've been going through the examples available here https://in.mathworks.com/help/matlab/ref/stackedplot.html to gene...

5 months ago | 2 answers | 0

Question

reading the contents of a text file

I have the following content in a text file 1 2 3.45 4 2 2 3.43 4 3 2 3.23 4 4 2 3.46 4 5 2 3.345 4 6 2 3.4567 4 I'm tr...

5 months ago | 1 answer | 0

Question

creating an empty json file

Hi All, I would like to know how to create an empty json file in MATLAB.

5 months ago | 1 answer | 0

Question

Installing MATLAB Engine API for Python

Hi, I'm going through the documentation available here https://in.mathworks.com/help/matlab/matlab_external/install-the-mat...

5 months ago | 1 answer | 0

Question

Issue while trying to use imopen

Hello Everyone, I have a segmentation volume created after processing an image stack by pixel classification. However, the ...

5 months ago | 0 answers | 0

Question

Adding edges to a Graph

Hi All, I am using the following section of code to add edges to a graph for node = 1:length(TobeAdded)-1 source = ...

6 months ago | 1 answer | 0

Question

Plotting histogram of image data present in a stack

Hi All, I have looked at the examples shown here to underetand how to plot histogram of a single image data. But it's not cl...

6 months ago | 1 answer | 0

Question

check if the entries of an array exists in another array

I've got two arrays, a1 = ["a", "b", "c", "d", "e", "f"] a2 = ["c", "f"] I would like to check if a2 is present in a1. Fo...

7 months ago | 1 answer | 0

Question

How to obtain a logical array?

I have an array X = 1:10 using find to check for an element returns find(X==10) ans 10 I would like to know how to r...

7 months ago | 1 answer | 0

Question

creating a graph with nodes and edges

I've the following tail = [2 3 4] head = [3 4 7] G = digraph(tail,head) plot(G) The node numbering isn't continuous here. W...

7 months ago | 1 answer | 0

Question

passing arguments to a function

function val = sum(a,b) default('a',1); % uses a function from file exchange default('b',20); val = a+b end I want to ...

7 months ago | 1 answer | 0

Question

plotting lines in 3D

I've the following to add additional points on a line joingin 2 points located in 3D space extended from 2D example shown here. ...

9 months ago | 1 answer | 0

Question

Writing time series data to a netCDF file from workspace

I have a worspace variable containing time varying data of a parameter `p` obtained at different coordinate positions. The rows ...

9 months ago | 1 answer | 0

Question

Write a mat file into netCDF file

I have a mat file with time varying data obtained at different coordinate positions. The rows correspond to different coordina...

9 months ago | 1 answer | 0

Question

How to read a multiframe tiff in MATLAB?

Hello, I am trying to read a multiframe tiff of dimension 610 x 610 x 1200 Using imread('file.tiff') reads only the first...

9 months ago | 1 answer | 0

Answered

Unrecognized function or variable 'gaussf'.

present in http://www.diplib.org/main

Unrecognized function or variable 'gaussf'.

present in http://www.diplib.org/main

9 months ago | 0

| accepted

Question

Unrecognized function or variable 'gaussf'.

Hi, I am running a MATLAB code published online for processing images (normalize intensities). It throws an error Unrecogniz...

9 months ago | 3 answers | 0

Question

Unrecognized function or variable 'bfopen'

I am tyring to open an image stack in .czi file in MATLAB2019b. data = bfopen(file_name); returns Unrecognized function or ...

9 months ago | 1 answer | 0