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

mehr als 12 Jahre vor | 0

Gelöst


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

mehr als 12 Jahre vor

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

mehr als 12 Jahre vor | 1

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

Gelöst


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

mehr als 12 Jahre vor

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 1

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 1

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Gelöst


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

mehr als 12 Jahre vor

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 12 Jahre vor

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 1

| akzeptiert

Mehr laden