Respondida
Subscription assignment dimension mismatch.
Type this code in the matlab command line: dbstop if error Then run your code and it will stop on a specific line. That line w...

más de 6 años hace | 0

Respondida
Meshgrid function different order
x = 0:1:5; y = 0:1:5; z = 0:1:5; [y_a, z_a, x_a] = meshgrid(y,z,x); Mesh = [x_a(:),y_a(:),z_a(:)] Or probably better: x = ...

más de 6 años hace | 1

| aceptada

Respondida
How to save the data of x (in my folowing case) to an Excel file after each loop .
help xlswrite and look at the 'range' option. M.

más de 6 años hace | 0

Respondida
Personalising contour plot, map colour scheme
Would something like this work for you?: R = [linspace(0,1,100) ones(1,43) linspace(1,1,100)]; G = [linspace(0,1,100) ones(1,4...

más de 6 años hace | 1

| aceptada

Pregunta


Multiobjective optimisation with 2D (empirical) distributions - am I doing this right?
Hi all, I have two parameters that I can vary in order to get two outputs (i.e. for every combination of X and Y I get a result...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Equation for imgaussfilt?
Hi, I have been using the Matlab built-in function imgaussfilt for some time now and I need to report the specific Gaussian use...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Fast 2D distance calculation
Hi all, Many of the codes I am currently using depend on a simple calculation: the distance between a single point and a set of...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Power fit with 3 parameters
Hi all, I have 3 groups of XY data, these data are each pretty well described by a power function. Each group reflects a differ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Calculating mean squared error or maybe MISE
Hi all, I'm interested in comparing different bivariate histograms to an underlying 2D probability density function. Additi...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Multidimensional optimisation of a collected 4D dataset
Hi all, I have collected some data where I manipulate 2 variables (X, and Y) and observe 2 outcomes (A and B). I now want to f...

más de 6 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Merging tables using outerjoin doesn't work
Hi all, I have two tables which I would like to merge/join. These tables have a series of shared columns and then one or more c...

casi 7 años hace | 0 respuestas | 0

0

respuestas

Respondida
How to show a whole table in Matlab variable window
I found why this was happening in my case - if you assign an empty value to a table column the variable editor switches from sho...

casi 7 años hace | 0

Pregunta


How to show a whole table in Matlab variable window
Hi, When I make a large table and try to view it in the variable view window in the Matlab UI, instead of seeing all the values...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to understand/convert the output of ksdensity and mvksdensity
Hi all, I am trying to use Matlab's kernel smoothed density estimate functions like mvksdensity to create a smoothed 'histogr...

más de 7 años hace | 0 respuestas | 0

0

respuestas

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

más de 7 años hace

Pregunta


Find points on a 3D convex hull surface
Hi all, I have a 3D convex hull and would like to populate it's surface with points. To be more specific, the convex hull giv...

casi 8 años hace | 0 respuestas | 0

0

respuestas

Respondida
Line of sight between points in a logical matrix
I think I have found a relatively simple solution that should also be quite fast. I use the inbuilt function improfile which was...

casi 8 años hace | 1

Pregunta


Line of sight between points in a logical matrix
Hi all, I am trying to work out the 'line of sight' between points in a logical matrix, i.e. if zeros represent floor space a...

casi 8 años hace | 2 respuestas | 0

2

respuestas