Réponse apportée
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)...

environ 3 ans il y a | 0

Réponse apportée
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 ...

environ 3 ans il y a | 0

| A accepté

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

environ 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

environ 3 ans il y a | 0

Réponse apportée
How can I establish communication between my matlab app and an electronic system wirelessly
Matlab supports Bluetooth Communications. See Documentation and Example.

environ 3 ans il y a | 0

Réponse apportée
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...

environ 3 ans il y a | 0

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

environ 3 ans il y a | 0

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

environ 3 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 3 ans il y a | 0

| A accepté

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

A soumis


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

plus de 3 ans il y a | 2 téléchargements |

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 5 ans il y a | 1 réponse | 0

1

réponse

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

plus de 5 ans il y a | 1 réponse | 0

1

réponse

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

presque 6 ans il y a | 1 réponse | 0

1

réponse