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

3 years ago | 0 answers | 0

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 0 answers | 0

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

3 years ago | 0 answers | 0

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

3 years ago | 2 answers | 0

### 2

Question

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 0 answers | 0

### 0

Question

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

3 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 0

### 1

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

4 years ago | 1 answer | 1

### 1

Unrecognized function or variable 'gaussf'.
present in http://www.diplib.org/main

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

4 years ago | 3 answers | 0

### 3

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

4 years ago | 1 answer | 0

### 1

Question

Extracting network from a 3D geometry
I have a 3D volume like the above and I would like to extarct network/ skeletonize from this. I would like to ask for sugg...

4 years ago | 1 answer | 0

### 1

Question

Why `WriteMode` isn't working while appending data to xlsx?
I'm doing the following excelFilename = 'someFile.xlsx'; structFieldnames = fieldnames(myStruct); % <--- where myStruct is y...

4 years ago | 1 answer | 0