Community Profile

photo

Sermed


Glostrup Hospital and University of Copenhagen

Active since 2012

Statistics

All
  • Thankful Level 1
  • First Answer
  • Solver

View badges

Content Feed

View by

Question


3D image from 10rgb slices
Hi I have 10 rgb images (100x 100x 3) and want to combine them into a single 3D image. Is it possible ? thanks in advance ...

8 years ago | 3 answers | 0

3

answers

Question


A simple 3D plot of a matrix
Dear All I have a matrix (74x3). The first and second columns are X and Y coordinates [-270 :270]. The third column is the inte...

9 years ago | 1 answer | 0

1

answer

Question


Importing a text with header
Hi All I have a text file that i want to import to Matlab. This file is as shown: * Item one % 1 text text tex * Item...

9 years ago | 2 answers | 0

2

answers

Solved


Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9

9 years ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

9 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

9 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9 years ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

9 years ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

9 years ago

Solved


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

9 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

9 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

9 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

9 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

9 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

9 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

9 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Question


patient database
I work at an eye clinic where i ran some electrophysiological examinations. The output data could be exported and viewed in matl...

9 years ago | 2 answers | 0

2

answers

Answered
Reset Button Gui
Hi Melvin The way I do it is: Under the callback function of the reset push button write: set(handles.edit1, 'value', 0)set(ha...

9 years ago | 1