Statistiques
0 Questions
39 Réponses
RANG
632
of 296 192
RÉPUTATION
120
CONTRIBUTIONS
0 Questions
39 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
14
RANG
of 20 361
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 155 631
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
how to run a while loop as long as the time parameter input is not exceeded?
There are probably more elegant solutions using <www.mathworks.com/help/matlab/ref/timer-class.html |timer| objects>, but if the...
environ 9 ans il y a | 3
Hist3, height bar depends on a third variable
What about |bar| or <http://www.mathworks.com/help/matlab/ref/bar3.html |bar3|>? For |bar3|, the height of the bar is whatever ...
environ 9 ans il y a | 0
3D Histgram plot for [N,M] Matrix, visualize result monte carlo simulation
It seems like you just want a histogram for each of the 30 cases. If so, this is done very simply using |histc| and |bar3| (ess...
environ 9 ans il y a | 0
| A accepté
How can I create a bubble different size plot?
[Edit to correct labels; also, note that no toolboxes are necessary.] See if this works for you. It combines the heat map an...
environ 9 ans il y a | 0
| A accepté
How to create a dynamic array, by counting the content of my current array?
This is a variation on run length encoding. Note that |find(diff(A))| returns the index of the end of each phase (where a pha...
environ 9 ans il y a | 0
how can i find all possible combination of a decision tree?
There's a very good chance I've made several errors here, but this might get you started: We seek the final score of |a:b|. ...
environ 9 ans il y a | 0
How to comparison decimal numbers
You can truncate (without rounding) using |floor| (or |fix|, if your numbers can be negative): x = [ ... 7.551119;...
environ 9 ans il y a | 1
| A accepté
Fast r-contiguous matching
How big is 'huge'? Assuming I've understood your requirements, your accepted solution seems terribly inefficient, memory-wise, ...
environ 9 ans il y a | 0
| A accepté
How to remove repeated neighbour numbers?
We can construct a mask to get the non-repeated elements of |A|. Then, |cumsum(mask)| will effectively give a phase number for...
environ 9 ans il y a | 0
| A accepté
How to make average of set of data?
[Edit to fix typo in image.] This answer references your previous question, <http://www.mathworks.com/matlabcentral/answers/2...
environ 9 ans il y a | 0
| A accepté
How can I add a fixed interval to a set of data?
I'm assuming that there's a typo in your expected result, and that |B| should be B=[4 3 2 1 0 *1* 2 3 4 5 ...] A simple (...
environ 9 ans il y a | 0
| A accepté
Hi everybody, I want different scenarios of a vector with 0 and 1 elements. For example v=[0 0 0 0 0 0 0], v=[0 1 0 1 0 1 0 ] , v=[0 1 1 1 1 1 1] and so on. But the first element of vector is fixed and has be zero .
Use |dec2bin| with its second argument: >> n = 6; >> a = dec2bin(0:2^n-1, n+1) a = 0000000 0000001 ...
environ 9 ans il y a | 1
Get Points from a Line (data set)
[Edit to fix grammar and include output.] It seems |interp1| is the answer of the day... x = [1 2 3 4 5 6 7 8 9 10]; % n...
environ 9 ans il y a | 0
| A accepté
how to arrange in order index by number of position
I wonder if, perhaps, there is an error in the expected solution you posted, and if it should instead be: S = [5, 2, 4, 6, ...
environ 9 ans il y a | 0
Integral average of y values with respect to x values
[edited to fix typo in comments, and clean-up useless clutter] Perhaps try combining the |filter| solution with the |accumarr...
environ 9 ans il y a | 0
Make a 3D animation of a system of equations in R^3.
It partly depends on what exactly you want. A quick and dirty approach would be to solve the ODE over a fixed interval using |o...
environ 9 ans il y a | 0
| A accepté
Using 3 dimensional array to 2d-plot????
At the very least, you need to switch your |i=i+1| and |k=k+1| statements: you have |k| indexing the inner-most loop, and |i| in...
environ 9 ans il y a | 0
Zero values of a fitted curve
There's a paper by Prof. Boyd from the University of Michigan that appears to address this: "Computing the zeros, maxima and ...
plus de 9 ans il y a | 1
| A accepté
Filter data into different Phases using multiple conditions.
I think you can achieve this by a variation on run length encoding. First, encode the data based on condition 1, then use condi...
plus de 9 ans il y a | 0
| A accepté
Meshgrid - RGB triplet plots
I'm not entirely sure how your actual data is formatted, but your dummy data for C needs to transpose the |theta| and |rho| dime...
plus de 9 ans il y a | 0
| A accepté
How do I plot wireless signal strength measurements using a spherical plot
[Edited for grammar.] Sorry for the delayed reply: I typed this up yesterday afternoon, but got called away before I could po...
plus de 9 ans il y a | 1
Cirle with color changing gradually.
[Edited to add colorbar and image.] As far as I know, you can't do it directly, but |pol2cart| is your friend. Look at <ht...
plus de 9 ans il y a | 0
| A accepté
How can i replace 0 by -1 in all binary number till 256 as 00000000, 00000001, 00000010, 00000011, 00000100, .................................., 11111111 ?
[Edited to use 0:255 instead of 1:256] n = 8; a = dec2bin(0:n-1) - '0' returns a as a matrix of doubles: a = ...
plus de 9 ans il y a | 0
Implementating the use of strfind with a for loop
[Edited to correct |sum(p, 1)| to |sum(p, 2)|.] I think you submitted a similar question yesterday, but it seems to have been...
plus de 9 ans il y a | 1
| A accepté
Compare closest grid cells without interpolation
I realize you said you don't want interpolation, but have you considered |interp2| with the |'nearest'| method? It really seems...
presque 10 ans il y a | 0
Creating a shape with varying arcs?
Note that 'smoothly' might not mean what you think it means: depending on your relative radii, you might get a change in concavi...
presque 10 ans il y a | 0
| A accepté
Using a while loop to check convergence
This looks like homework, but it also looks like you've got a good start... Note that |i| is generally regarded as a bad choi...
presque 10 ans il y a | 1
repeating a vector with increments
Assuming you have a typo in your example and your desired output is actually [2, 3, 5, 8, 9] (i.e. an |8| instead of the r...
presque 10 ans il y a | 0
Running Abaqus from Matlab
The following works under Linux. The command |system| should work to replace either |dos| or |unix|. n = 3; for...
presque 10 ans il y a | 1
| A accepté
Find the angle between two vectors, then move away...
I think you might have two errors: First, atan2 takes arguments atan2(y, x), i.e. the reverse of what you seem to have. Se...
presque 10 ans il y a | 0
| A accepté