z8080
Followers: 0 Following: 0
Statistiques
RANG
2 149
of 295 448
RÉPUTATION
29
CONTRIBUTIONS
74 Questions
5 Réponses
ACCEPTATION DE VOS RÉPONSES
52.7%
VOTES REÇUS
27
RANG
of 20 227
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 872
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
Question
Unexplicable "Operands to the logical AND .." error from "histogram" command
I have a script written on a computer using Matlab 2023a, which runs without problems. I ran that script on another PC, with a n...
9 mois il y a | 1 réponse | 0
1
réponseQuestion
Changing the marker shape or aspect ratio in a legend
Consider the following example code, and the plot legend it creates: % Example data means = [10 40 50 60; ...3 groups, each w...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
Posthoc (planned) comparisons as contrasts between different levels of a regressor, in fitlme
I have participant data for 5 different rating dimensions (A to E), and I have fitted linear mixed-effects models, separately fo...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
Getting Help to open in new tab of the default browser as opposed to built-in browser
I remember newer MATLAB versions at some point opening new tabs of my default browser to show documentation, upon pressing F1. B...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
Goodness of fit for a Zipf distribution
I have several vectors of numbers and would, for each one, like to fit a Zipf distribution, and estimate the goodness of fit rel...
plus d'un an il y a | 2 réponses | 0
2
réponsesQuestion
Nesting depth and the error "Expected one output from a curly brace or dot indexing expression, but there were x results."
Consider this toy example: a(1).x.y=1 a(2).x.y=2 [a.x.y] Why does this produce the infamous error Expected one output fro...
plus de 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
Setting overlap colours in plot with transparent layers
I have a plot with 3 filled surfaces, generated by commands such as band(i_condition) = fill(xconf,yconf_CI95, colours(i_condit...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Mean (with confidence bands) for signals sampled at different timepoints
I have ratings from multiple subjects, which I'd like to average and display with confidence bands to show cross-subject variabi...
plus de 2 ans il y a | 1 réponse | 0
0
réponseQuestion
Reordering legend items deletes legend handle - how can I get them back?
For the legend of a complex plot, I wish to: 1) reorder the items so that they better match the order of data points in the plo...
plus de 2 ans il y a | 1 réponse | 1
1
réponseQuestion
Condition in conditional breakpoint ignored: debugger stops there anyway
It sometimes happens that conditions I set for a given breakpoint are ignored: the debugger will stop there even if the conditio...
plus de 2 ans il y a | 1 réponse | 1
1
réponseQuestion
"Intermediate dot indexing produced a comma-separated list.." error prevents extracting values from nested indexed fields
The following minimum working example illustrates a very common situation in Matlab, and shows the error produced when trying to...
plus de 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
histogram2 images not properly saved in vector format
I used this code to generate a 2D histogram: h(i) = histogram2(pairs(:,1), pairs(:,2), -12:12, -12:12, 'DisplayStyle','tile', ...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Version mismatch with exportgraphics? "class matlab.graphics.internal.mlprintjob has no Constant property or Static method named 'containsUIElements'"
When running fig = figure; % plotting commands.. exportgraphics(fig, 'd:\plot.emf'); I get the error Error using exportgrap...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Highlighting ALL occurrences of a given string using Find
I'd like to search for a word that appears very often in my script — often enough that to go from occurrence to occurrence using...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Adjusting color of highlighted words returned in a Find/Search
When text is highlighted during a Search through a Live script, it stands out insufficiently from the background, in my Matlab c...
plus de 2 ans il y a | 1 réponse | 3
0
réponseSet the width of a subplot & leave all else unchanged
Managed to find this out on my own. Code of the following sort is required for the subplots: sph(i) = subplot(N_seeds, 1, i_s...
plus de 2 ans il y a | 1
| A accepté
Question
Set the width of a subplot & leave all else unchanged
I have code that generates the following figure with subplots: I'd like to reduce the width of each subplot and leave more r...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Keeping a history of plots previously generated by Live Editor code
When tweaking figures for publication, I change various parameters one at a time, and it is useful to compare the outputs (the p...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Changing marker size in legends (gramm)
I am using the gramm toolbox to do plots of all sorts in Matlab. One thing I'm having to always edit post-hoc in most plots (i.e...
plus de 2 ans il y a | 1 réponse | 0
0
réponseQuestion
Histogram function plots different colours from those requested
I"m trying to color-code each of 4 histograms using a predefined color scheme. Here's a minimal working example: colours = [0 3...
plus de 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
Cannot use 'histogram' to compute entropy
I'd like to compute the entropy of various vectors. I was going to use something like: X = randn(1,100); h1 = histogram(X, 'No...
environ 3 ans il y a | 1 réponse | 0
0
réponseQuestion
Many 2D histograms, single colorbar
Consider this minimal working example: for i=1:4 numberPairs(i).matrix = randn(1000,2); subplot (2,2,i) h(i) = histogram2...
environ 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Cannot obtain structure elements where both field and variable are indexed into
Say I have a structure of students' information, where the indexing of both the name field and the structure itself are of inter...
environ 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Constructing names of array and structure variables
I'm trying to dynamically create variable names, for array and struc variables. However, my usual way (below) does not work, as ...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Typing the first letter(s) of a variable to get quickly to that place in the WOrkspace
WHen a list contains many items, it's very useful to get to the one you need by typing its first letter or first few letter. Thi...
environ 4 ans il y a | 1 réponse | 2
1
réponseError from fopen after conflicting files/paths
Apparently there is an easy (albeit superficial - note Stephen's answer!) fix for this, which I've been advised to do: issue the...
environ 4 ans il y a | 0
| A accepté
Question
Error from fopen after conflicting files/paths
I have a script that, at the end, writes the generated figure to an image file: fileName = 'figureOne'; print('-dpng', fileNam...
environ 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
Control the color of characters' inside separately from their contour (text function)
When using the `text` function, by changing the colour of the font one only changes the face (inside) colour. Is there a way to ...
environ 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Assiging indexed values to a structure field
I would like a field of my indexed structure to take on a value similarly indexed in a different vector: struc(1:3).value=1:3 ...
plus de 4 ans il y a | 1 réponse | 0
0
réponseQuestion
Marker transparency AND marker size can't be set simultaneously in legends
I've been trying to control both the marker size and their transparency, in my legend. It seems to me this cannot be done, at le...
presque 5 ans il y a | 1 réponse | 1