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

fast 3 Jahre vor | 0

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

fast 3 Jahre vor | 0

| akzeptiert

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 3 Jahre vor | 0

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

fast 3 Jahre vor | 0

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

fast 3 Jahre vor | 0

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

fast 3 Jahre vor | 0

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

fast 3 Jahre vor | 1

| akzeptiert

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

fast 3 Jahre vor | 0

| akzeptiert

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Gesendet


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

mehr als 3 Jahre vor | 1 Download |

0.0 / 5
Thumbnail

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort