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

alrededor de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año 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...

más de 1 año ago | 3 answers | 0

3

answers

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

Question


Append character array to first row of a matrix
Hi there! I've the following struct array Astruct = struct with fields: data1: [10×5 double] data2: [10×5 doub...

más de 1 año ago | 1 answer | 0

1

answer

Question


Saving struct to excel
I've a struct in the following form Astruct = struct with fields: data1: [5001×16 double] data2: [5001×16 d...

más de 1 año ago | 1 answer | 0

1

answer

Question


Version control on mat files
Hi All, Is it possible to view the history of changes made to a mat file? Thanks

más de 1 año ago | 1 answer | 0

1

answer

Question


Question on how to position points on a line
I've the following to divide a line to equal segments ref xy1 = [141.64 399.53]; xy2 = [213.32 250.96]...

más de 1 año ago | 1 answer | 0

1

answer

Question


Defining persistent variables in a function
I've a function that is called multiple times function fun() persistent x y z if isempty(x) x = % end if isempty(y) y = ...

más de 1 año ago | 1 answer | 0

1

answer

Question


Optimizing code run time
Hi All, I've the following function function fun1() [t,x] = ode15s(@(t,s) fun2(t,x), tspan , x0 ,options); ...

más de 1 año ago | 1 answer | 0

1

answer

Question


fmincon converges to solution using interior-point but not using sqp
Hi All, I am solving an optimization problem using fmincon. The solver converges to a solution using interior-point algorithm...

más de 1 año ago | 0 answers | 0

0

answers

Question


Objective function increases but solver converges --- Why?
Hi All, I am trying to solve a constrained optimization problem in fmincon But I am not sure why the solver converges when...

más de 1 año ago | 1 answer | 0

1

answer

Question


How should the value of objective function be returned for fmincon?
Hello, I have an objective function that computes the difference between actual and predicted values. The value, f, computed ...

más de 1 año ago | 1 answer | 0

1

answer

Question


Why is the optimization problem solved by lsqnonlin but not by fmincon ?
Hi All, Equation 1: Equation 2: Equation 1 represents the exact dynamics of a system and equation 2 is the approximat...

más de 1 año ago | 0 answers | 0

0

answers

Question


Solving an optimization problem in fmincon with nonlinear constraints
Hi All, I have the following dynamical systems. Equation 1: Equation 2: Equation 1 represents the exact dynamic...

más de 1 año ago | 1 answer | 0

1

answer

Question


Passing extra output arguments from ode
I've the following code to obtain [t,x] after simulating odes . In addition to the solution, I also want to obtain the functiion...

más de 1 año ago | 2 answers | 0

2

answers

Question


How to set up parameter estimation in fmincon
Hi All, I have the following dynamical systems. Equation 1 represents the exact dynamics of a system and equation 2 is the ap...

más de 1 año ago | 1 answer | 0

1

answer

Question


Automatically generating constraints for fmincon
Hi All, I would like to know if it is possible to automatically generate trapezoidal collocation constraints using OptimTraj ...

más de 1 año ago | 0 answers | 0

0

answers

Question


How can I do this in MATLAB?
In pycharm, if I have a bunch of py files and let's say I have opened 1 file that calls a function defined in the other file. Cl...

más de 1 año ago | 1 answer | 0

1

answer

Question


Parameter estimation using fmincon - how to set up the problem in MATLAB?
I've an objective function of the form, Note: M,D arematrices. The second equation is the objective function that has to...

más de 1 año ago | 0 answers | 1

0

answers

Load more