Réponse apportée
Save figure as jpg with 600dpi
In print command, for jpg images, the flag is '-djpeg'

plus de 6 ans il y a | 0

Réponse apportée
Create a for cycle over an array
Try this >> tfin = cumsum(D) tfin = 2 5 9 13 18 24 31 34 >> tin = [0 tfin(1:end-1)] tin...

plus de 6 ans il y a | 0

Réponse apportée
How to find a series of 'next max' and their indices in an array of numbers?
use cummax to find the cumulative maximum, then play with the solution using unique >> Y = cummax(X) Y = 1 2 ...

plus de 6 ans il y a | 2

| A accepté

Réponse apportée
Identify nodes which lie within a range of 3D volumes
Try this % preallocation idx = cell(size(Vertices,3),1); % for each box for i = 1:size(Vertices,3) % find box min and...

plus de 6 ans il y a | 0

Réponse apportée
Find center of a plane and project center point perpendicular to plane
As already pointed out by Walter Roberson, 4 points cannot be coplanar. Assuming that they are, you may try this clear variable...

plus de 6 ans il y a | 2

| A accepté

Réponse apportée
How to plot 3D matrix in form of cube
try figure; surf(D);

presque 7 ans il y a | 0

Réponse apportée
How to fix an error about struct input of an function in Matlab?
It looks like you are passing the wrong data to the function. The first input must be a structure generated by the function SVMT...

presque 7 ans il y a | 0

Réponse apportée
How to compare two matrices of different dimentions and get the result in new column
Try this % find logical indices in A with 2000 idxLog = A == 2000; % create the new vector with B values in idxLog and zero...

presque 7 ans il y a | 0

Question


Quadprog 'interior-point-convex' failure
Dear Matlab Gurus, I have a problem with Matlab quadprog function. A few years ago I implemented a code using quadprog with th...

presque 7 ans il y a | 3 réponses | 1

3

réponses

Question


symbolic derivative with constant output
Hi everyone, I am working on a code requiring the definition of an anonymous function that is the derivative of another anonymo...

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

1

réponse

Question


Create symbolic matrix from triplets with repeated indices
Hi everyone, I am trying to build a symbolic matrix from the triplets iRow, jCol, aElm such that A(iRow(k),jCol(k)) = A(...

presque 9 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Combine several code to a single code
Try |arrayfun| % the data X0=[5; -3; 3] y=[45;45;45] p=[30;30;30] r=[50;50;50] % the operation X1 =...

environ 9 ans il y a | 0

Question


Rotation that maximises a vector length
Hi all, I have a problem that is more related to linear algebra than Matlab itself, even if I would like to solve it with Mat...

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

0

réponse

Réponse apportée
Rebuild a matrix from indices
Try linear indexing % the data A = [0 2 2 0 0 ; 2 0 0 2 2 ; 0 2 0 2 2 ; 0 0 0 2 2 ; 2 2 0 2 2]; [i,j] = find(A==2); ...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
How can i repeatedly store a smaller matrices after manipulations in a specific place of a larger matrix.
I think your first matrix should be 360x720 (and indexing starts with 1). Try this % create the matrices A = rand(360,72...

plus de 9 ans il y a | 0

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus de 9 ans il y a

Question


implementation of subclass from triangulation
Hi everyone, I am trying to implement a derived class from the 'triangulation' class available in Matlab 2014. The aim is to ...

plus de 10 ans il y a | 3 réponses | 0

3

réponses

A soumis


int_green3d
Analytical integration of the Green's function in 3d over plane surfaces

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

4.8 / 5

Question


GPU computing on iMac
Hi everyone, I would like to buy an iMac mounting an NVIDIA GeForce GT 755M board, but I am not sure if this hardware meets t...

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

1

réponse

Réponse apportée
How can I successfully solve a certain huge sparse matrix; i.e., 8e6 x 8e6 entries?
Sorry for late reply, I am on holiday! The method is described here O. Axelsson, A. Kucherov, "Real valued iterative metho...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How can I successfully solve a certain huge sparse matrix; i.e., 8e6 x 8e6 entries?
Chris, is the matrix complex symmetric (not-hermitian)? If so I think I have a possible solution to try. Fabio

presque 11 ans il y a | 0

Réponse apportée
automatically cycle through function inputs
use varargin: function name(varargin) for i = 1:nargin figure(i), plot(varargin{1}); end end

presque 11 ans il y a | 0

Réponse apportée
Eliminating unnecessary portions of arrays from structure.
If I understand correctly you want something like this idx = find(data(1).IAS >= 290 & data(1).IAS <= 310); plot(data(1).A...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
Interpolating points of a 3D point cloud
Does triscatteredinterp make the job?

presque 11 ans il y a | 0

Réponse apportée
how to use copy options in matlab for mac?
can you use: Edit -> Copy Figure ?

plus de 11 ans il y a | 0

Réponse apportée
find missing elements in a matrix
Try this A=[1 2 3 6 7 45 46 47 53 78 80]; all = 1:80; missing = setdiff(all,A); Fabio

plus de 11 ans il y a | 0

Réponse apportée
MATLAB in unexpected places
<http://www.phdcomics.com/comics/archive.php?comicid=1289> second scene

plus de 11 ans il y a | 1

Question


Iterative solver with gpuArray
Hi all, In some cases the use of iterative solvers is useful also with full matrices, which is my case. I would like to use a...

plus de 11 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
Color a delaunay triangulation
Let's suppose that your triangulation is organized as follows * P: Nx2: node coordinates * T: Mx3: triangulation * F: Mx1: ...

plus de 11 ans il y a | 2

| A accepté

Question


Sparse complex symmetric direct solver for windows
Hi everyone, I am looking for a dedicated direct solver for large sparse complex symmetric (not hermitian) systems. The problem...

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

0

réponse