Answered
How to create a 3d mesh with a unique property for every element?
You can store all the information you want into a structure: nElements = 25; x = rand(nElements, 1); y = rand(nElements, 1)...

2 years ago | 0

Answered
compare matrices of different sizes
Hard to tell from the information you give, but it looks like you are using vectors as interpolation base, when you have to use ...

2 years ago | 0

| accepted

Question


Asymmetric intervals built-in vectorisation
Does Matlab have a built-in methodology to vectorise the following? a = [3,4,3,6,4,2]; b = zeros(1, sum(a)); idxEnd = cumsu...

2 years ago | 1 answer | 0

1

answer

Answered
How to add together values in matrix and replace the empty spaces with zeroes
in = [0 0 0 2 3 4 0 0 0 5 2 1]; out = zeros(size(in)); sum = 0; for j = 1 : length(in) if isequal(in(j),0) && ~isequ...

2 years ago | 0

Answered
How can I establish communication between my matlab app and an electronic system wirelessly
Matlab supports Bluetooth Communications. See Documentation and Example.

3 years ago | 0

Answered
I have a problem with appdesigner, can you help me?
I must say that is really hard to help you with so little infromation. If you don't need real time sharing you can pass the dat...

3 years ago | 0

Answered
speed up for loop
Try parallel computing: % Get CPU's numebr of cores: [~, numberOfCores] = evalc('feature(''numcores'')'); % Start parallel ...

3 years ago | 0

Answered
How to generate non repeat integer?
% Input data: numberOfElements = 15; numberOfGroups = 3; % Pre-process: elementsPerGroup = numberOfElements / numberOfGrou...

3 years ago | 1

| accepted

Answered
Write a script to create a matrix B equal to A, but with its last column equal set to 0.
I suppose you want to limit your case to bi-dimensional arrays. You can create a function which works for every matrix funct...

3 years ago | 0

| accepted

Question


3D animate plot of satellite in orbit around Earth
Hello. I am developing an app with app designer and I need to animate the plot of a satellite on a fixed orbit. In the followi...

3 years ago | 1 answer | 0

1

answer

Submitted


Mastermind
Play Mastermind on MATLAB with animations, splash arts and engine solutions.

3 years ago | 1 download |

0.0 / 5
Thumbnail

Question


How to compute projected area of 3D convex hull along specified direction?
I have a Nx3 array of points which does represents a convex hull and I am using matgeom, specifically geom2d and geom3d, for the...

4 years ago | 1 answer | 0

1

answer

Question


Plot ellipsoid with only principal section lines
I have always used the Matlab function ellipsoid as follows: [X,Y,Z] = ellipsoid(0,0,0,1,2,3,16); figure surf(X,Y,Z,'faceco...

4 years ago | 1 answer | 0

1

answer

Question


Evaluation-Interpolation using FFT algorithm
I'm trying to develop a FFT algorithm for evaluation-interpolation of polynomials. I tried the simple function where the coeff...

5 years ago | 1 answer | 0

1

answer

Question


Contour plot of concave shape from 3 vectors coordinates
Hello, I'm analyzing a membrane with FEM. The membrane has a rectangular shape with a hole at the center so I've only modeled a...

5 years ago | 1 answer | 0

1

answer