Feeds
문제를 풀었습니다
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
거의 7년 전
문제를 풀었습니다
Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).
대략 7년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
거의 8년 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
거의 8년 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
거의 8년 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
거의 8년 전
질문
Proper way to save and load object linked list / container / graph like structures
Hi everyone, I'm currently developing a rather large and complex data structure based around Matlab's OOP. I have a central c...
대략 8년 전 | 답변 수: 0 | 0
0
답변질문
Best way to organise external toolboxes or turn them into packages
Hi folks, I'm working on a project with very different types of analysis involved and I utilise a couple of external toolboxe...
거의 9년 전 | 답변 수: 0 | 0
0
답변질문
FFT of wave packet, strange phase behaviour
Hi, I'm computing the fft of a wave packet (centred at t= 0, odd number of entries!) to determine its frequency and phase. ...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
parallel workers cannot see GPUs
I'm currently working on code that should run on a number of different HPC machines with multiple GPUs. The machine I'm testing ...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
Criterion for stability of oscillations / frequency stability?
Hi Matlab Community, I'm looking for a criterion (best case available in Matlab) to quantify stability of oscillations. I hav...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Empty objects not calling get method?
Hi, I have a problem regarding object oriented programming in Matlab: If I have an empty object, i.e. myObject.empty I can ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Area of curved surface
Hi, I have data points belonging to a surface in 3D. I want to calculate the surface area of it. What are my options? If poss...
9년 초과 전 | 답변 수: 2 | 1
2
답변질문
Multiple Outputs in object method?
I'm working with OOP in matlab and I want to define a function to output multiple arguments. The idea is to easily concatenate ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Machine learning for peak characterisation
I have intensity profiles (extracted from an image analysis). Basically just f(x). With large datasets of different profiles. Th...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Draw perfect 4 connected polygon skeleton OR Create polygons and characterise their regions
Hi, I have a segmentation of a cell layer (see Image). I extracted cell vertices and cell edges. Now based on the vertices al...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Use both multi core CPUs
Hi, I have a two CPU multi core machine (16 cores each). I want to use a parfor loop on all 32 cores. But maxNumCompThreads g...
9년 초과 전 | 답변 수: 1 | 0