回答済み
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...

4年以上 前 | 0

回答済み
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 = ...

4年以上 前 | 1

| 採用済み

回答済み
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.

4年以上 前 | 0

回答済み
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...

4年以上 前 | 1

| 採用済み

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 2 件の回答 | 0

2

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

5年弱 前 | 0 件の回答 | 0

0

回答

質問


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

約5年 前 | 0 件の回答 | 0

0

回答

回答済み
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...

約5年 前 | 0

質問


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

約5年 前 | 1 件の回答 | 0

1

回答

質問


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

5年以上 前 | 0 件の回答 | 0

0

回答

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

質問


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

6年弱 前 | 0 件の回答 | 0

0

回答

回答済み
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...

約6年 前 | 1

質問


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

約6年 前 | 2 件の回答 | 0

2

回答