Respondida
is there any way to simultaneously display an audio input onto a graph as the sound is being detected?
I would use the DSP System Toolbox for this. It provides tools that allow for streaming audio. To get you started: <http://...

más de 12 años hace | 0

Resuelto


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

más de 12 años hace

Respondida
Sum the digits of a number?
<http://www.mathworks.com/matlabcentral/cody/problems/2040-additive-persistence>

más de 12 años hace | 1

Respondida
Grey Level Co-occurrence matrix
There's a function |graycomatrix| in the Image Processing Toolbox that does this. <http://www.mathworks.com/help/releases/R20...

más de 12 años hace | 0

| aceptada

Respondida
Opening A directory of folders and accessing data within each folder
Both |for|-loop signatures look like the following, which is likely invalid. for k = numel mainFolder.name What you like...

más de 12 años hace | 0

Respondida
Matlab errors when attempting to publish
This error can be seen if: v = ver('matlab') Returns a structure array instead of a single structure. This can happen if...

más de 12 años hace | 1

Resuelto


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

más de 12 años hace

Respondida
Wrong answers given by MATLAB LU Factorization
The behavior you are seeing is described in *Example 1* of the |lu| documentation: <http://www.mathworks.com/help/releases/R2...

más de 12 años hace | 0

Respondida
C++ or MATLAB or Java or other for very complicated Mathematical operations in Physical Chemistry lasting for days, months or even years?
Your description is really too vague to give you an answer. Remember, you need to include: requirements time + development...

más de 12 años hace | 0

Respondida
Editbox multiple lines gui
Something along these lines? h = uicontrol('Style','edit',... 'Units','normalized',... 'Position',[0.1 0.1 0.8 0....

más de 12 años hace | 0

| aceptada

Respondida
Random Numbers in Parallel Environment
Does every execution create the same results if you do not reinitialize the matlabpool by closing and opening it? Unable to r...

más de 12 años hace | 1

Respondida
Creating a new toolbox
I would have an installation file that unzips all of your MEX/MATLAB files into a specific directory (or directory structure) an...

más de 12 años hace | 0

| aceptada

Respondida
Why export_fig won't work if code is run automatically?
Did you |drawnow()| before exporting/printing?

más de 12 años hace | 1

Respondida
How to check if a pair of longitude and latitude is within an irregular circle?
You could try using |interpm| from the Mapping Toolbox along with |inpolygon|

más de 12 años hace | 0

| aceptada

Respondida
How can i remove for loops?
Just preallocating Rup should speed this up: First line: Rup = zeros(size(A));

más de 12 años hace | 0

| aceptada

Respondida
Errors when editing an image
You need to pass the image in too: filter.Apply(obj); But |filter.Apply| expects |(obj,img)| function [ img_o ] = A...

más de 12 años hace | 0

Respondida
Matlab Parallel Computing Toolbox to solve Ax=b (with complex numbers and A being sparse).
Sparse is supported by PCT for distributed arrays and for standard use on a worker. Sparse is not currently supported for GPU...

más de 12 años hace | 0

Resuelto


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

más de 12 años hace

Respondida
different results in R2012x and R2013x of function eig for matrices of class sym
I can reproduce this. Please contact support.

más de 12 años hace | 0

Respondida
Export uitable data to CSV file
* Get the data from the table using |get()|. * If you're using R2013b, you can turn the data into a |table| and then use |wri...

más de 12 años hace | 0

Respondida
How to find two parameters by non linear curve fitting with equation involving two variables.
Write it as a function! function v = predicted(a,z) % stuff end Then call it using the syntax explained here f...

más de 12 años hace | 0

| aceptada

Respondida
How to merge nearest boudingbox from regionprops in matlab
Dilate the mask ( |imdilate| ) the acceptable "closeness" distance first so that the objects touch, then use |regionprops|.

más de 12 años hace | 0

| aceptada

Resuelto


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

más de 12 años hace

Respondida
flush uicontrol callback queue
Use a |timer| or multiple timers. They will handle this much better than |while|-loops. Don't forget to be liberal with the |d...

más de 12 años hace | 0

| aceptada

Respondida
Report Generation: Chapter new page disable using Stylesheet
Perhaps use the _Compact Simple Print_ option: <http://www.mathworks.com/help/releases/R2013b/rptgen/ug/set-report-output-o...

más de 12 años hace | 0

Respondida
Avoid/Block a msgBox?
close(gcf) ?

más de 12 años hace | 0

Respondida
I find a problem about accumarray(subs,val,[],@(x)sum(diff(x))), maybe a bug
Explicitly sort either _subs_ or _vals_ (inside of the function) when you need sorted values in |accumarray()| Example two an...

más de 12 años hace | 0

Respondida
How can I have Matlab detect a compiler on the local system?
When you run the following at the MATLAB command line: mex -setup It should show you Visual Studio C++ 2010. If it does...

más de 12 años hace | 1

| aceptada

Respondida
Can using cell arrays produce unexpected matrix dimension errors?
Hey Brad, |vertcat()| is what is called when you use a ";" to vertically concatenate an array, e.g.: x = [1; 3] is e...

más de 12 años hace | 1

| aceptada

Respondida
How to Setting Custom Colours in 4D figures (Slice Function)?
The color right now is changed according to _v_... That's why the color in the middle shows up. *More per clarification* ...

más de 12 años hace | 1

| aceptada

Cargar más