Community Profile

photo

Peter Cook


Last seen: 1년 초과 전 2010년부터 활동

Followers: 0   Following: 0

연락

B.S. Ch.E. working in oil & gas tech development. Professional Interests: Fiber optics - distributed acoustic sensing (DAS) & distributed temperature sensing (DTS) and microseismic imaging for applications in fracture and reservoir monitoring.

통계

All
  • Cody 5th Anniversary Finisher
  • Scavenger Finisher
  • Thankful Level 3
  • Knowledgeable Level 2
  • Quiz Master
  • Project Euler I
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 1
  • GitHub Submissions Level 3
  • First Submission
  • Cody5 Easy Master

배지 보기

Feeds

보기 기준

답변 있음
Invalid MEX-file missing dependencies libraries,"cudart64_75.dll" and "nppi64_75.dll" missing ,I Actually wrote the program for cropping of the video frames in rectangle bounding boxes, it is throwing these error.how can i resolve this error?
It's hard to tell your specific problem, but here's a couple suggestions. If you compile the cuda mex in Visual Studio instead ...

대략 5년 전 | 0

답변 있음
Continuously overwriting plot in a loop
Since dist is the same for each loop iteration, and you are only updating model, you should return a handle to the line object b...

대략 5년 전 | 0

| 수락됨

답변 있음
Regression tree and AIC
The default optimizer is Bayesian, could you extract the BIC & rescale it to AIC?

대략 5년 전 | 0

질문


Is it Possible to Assign Aligned Memory to a *mxArray?
I am trying to use an Intel Intrinsics routine in a mex function (the sandbox function call shown here is just a matrix transpos...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


MATLAB Crashes when Using Conda Environment Other than Base
I am having trouble using a custom conda environment in MATLAB. Here's the code I use to bootstrap a conda environment with a fe...

대략 5년 전 | 답변 수: 3 | 4

3

답변

답변 있음
[DISCONTINUED] MATLAB Answers Wish-list #4 (and bug reports)
I'd like to see python-like support for Git/GitHub requirements.txt files. Python (pip) automatically clones additional repo...

거의 6년 전 | 1

질문


OOP/Class Questions: deepcopy & AbortSet
1. What is the correct way to deepcopy an instance of a class/object whose superclass is type `handle`? `copyobj` doesn't seem t...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


MATLAB + GIT or GitHub User Survey
Do you: 1. Manually switch directories to edit code that lives in your repository? i.e. cd C:\%USERPROFILE%\Documents\Gi...

대략 6년 전 | 답변 수: 0 | 0

0

답변

답변 있음
Recursive Search for All Possible Paths Between 2 Nodes
You should check out the graph class. https://www.mathworks.com/help/matlab/ref/graph.html Most common graph operations are i...

대략 6년 전 | 0

질문


addlistener Behavior/Syntax
I've got a listener on an axes object that listens for changes to either XLim or YLim and fires a callback based on the new axes...

대략 6년 전 | 답변 수: 1 | 1

1

답변

질문


OOP - Sealed Superclasses
I am trying to create a custom class to overload the MATLAB image object but am getting this error message: Class 'matlab.g...

대략 6년 전 | 답변 수: 3 | 2

3

답변

답변 있음
Two knob slider for a GUI or app
I have dabbled with this a couple times myself. As Adam mentioned, you could use a range slider, but what if you want multiple t...

대략 6년 전 | 1

답변 있음
Odd getrect(FIG) behavior with subplots (r2015b)
Since the desired subplot is not known ahead of time, I ended up using this block of code to first figure out which axes was cli...

대략 6년 전 | 0

| 수락됨

질문


Benchmarks for memmapfile vs fread
Has anyone (The MathWorks?) measured & collected benchmarks for memmapfile versus fread (for various file sizes, binary file str...

6년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
How to extract a PDF from points with a weigh attached to them
I don't know if there's a canned function for this - you could try: 1. Compute weighted mean for each column of X 2. Comp...

6년 초과 전 | 0

질문


Odd getrect(FIG) behavior with subplots (r2015b)
I am noticing an unusual behavior of getrect when passing a figure handle as the argument. e.g. hFig1 = figure(1); hA...

6년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
FFT and Optical Spectra
If you're looking for a simple import and speed isn't a concern you should try: uiimport A speedier load than this can ...

6년 초과 전 | 0

질문


Save Python List to MAT File (R2015b)
I've got a small apparent issue with using the python list datatype in MATLAB. If I save a py.list to a MAT file and then try to...

6년 초과 전 | 답변 수: 2 | 0

2

답변

답변 있음
Rotating Subparts of Image
This might work for you: 1. Mask a box around the pacman & extract the pixel values 2. Make the background grey where you pull...

거의 7년 전 | 0

질문


MCR Applications with Python Functions
I am having an MCR compatiblity issue with python. When I run my application in native MATLAB (r2015b), I call a python script a...

거의 7년 전 | 답변 수: 1 | 0

1

답변

답변 있음
DBscan with Map reduce code
py.sklearn.cluster.dbscan

거의 7년 전 | 0

질문


Full File Path Quotation Marks (Double vs Single)
A small thing that I often work around is changing file path names enclosed in double quotes to single quotes to load them into ...

거의 7년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Creating array from 1.e-20 to 1, with steps 1.e-19, 1.e-18..
logspace(-20,0,21)

7년 초과 전 | 4

| 수락됨

답변 있음
Can I use Pages and save as an Excel spread sheet to import into matlab?
Check Out help xlsread

거의 8년 전 | 0

| 수락됨

답변 있음
Probability plot HELP!!!
To fit a gaussian contour to your 2d data, you could try <http://www.mathworks.com/help/stats/fitgmdist.html fitgmdist>. To p...

거의 8년 전 | 0

| 수락됨

답변 있음
How to make 'MinPeakDistance' consider first point close to last point in findpeaks ?
If your signal is periodic, you could try to circshift() the signal a couple times (by say, length(signal)/4 or length(signal)/3...

거의 8년 전 | 0

질문


Find the K most orthogonal vectors in a set of vectors
Hello All, The context of this particular search is a step in tuning a spectral clustering routine a la Ng et al 2002. The pu...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


(noob) Matlab Compiler Issue
Hey folks, I am trying to build an m-file (sans GUI) into a standalone application for colleagues to utilize. Unfortunate...

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


Efficient Means of Emulating a Pointer
Hello All, I am writing a program wherein I am using 2 main structs to pass data to function & subfunctions. Depending on the...

거의 9년 전 | 답변 수: 1 | 0

1

답변

질문


1-D digital filter runtime
Quick question - Is there any computational savings to padding input arrays for the filter function to a power of 2?

대략 9년 전 | 답변 수: 1 | 0

1

답변