![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6773500_1537771312718_DEF.jpg)
Jonas Damsbo
Followers: 0 Following: 0
Statistiques
RANG
28 267
of 297 016
RÉPUTATION
1
CONTRIBUTIONS
28 Questions
1 Réponse
ACCEPTATION DE VOS RÉPONSES
57.14%
VOTES REÇUS
0
RANG
of 20 419
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 157 725
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
Output argument ‹variable› (and maybe others) not assigned during call to ‹function›
When I run my script, I get this error from my function. I can't see why This is my function: function pdf = apost(m); sd1 ...
environ 5 ans il y a | 1 réponse | 0
1
réponseQuestion
Array indices must be positive integers or logical values
I have this MatLab code where I want to run a metropolis algorithm. In my s rho is a matrix 12x12 and L is a matrix 12x12. m0 ...
environ 5 ans il y a | 1 réponse | 0
1
réponseQuestion
Solving equation in a for loop with data
I have this code with a for loop where I want to determine h(i). Is there any way I can solve this equation for h? h is the i...
environ 5 ans il y a | 2 réponses | 0
2
réponsesQuestion
Inverse problem: 2D convolution
I have this exercise. I need to find a matrix G based on d = Gm with a point spread function and an image. The task says I can f...
environ 5 ans il y a | 1 réponse | 0
0
réponseQuestion
Calculate different rowss in a matrix
Hi I want to calculate different rows in a matrix. If I have a matrix, lets say, 300x180 I want now to calculate: A(1:30,:)...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Sequences for a 3D matrix
It is possible to find sequences over the 3rd dimension for each element in Matlab? Lets say I have these matrix 3x3x5 ...
environ 6 ans il y a | 2 réponses | 0
2
réponsesQuestion
Percentage of each elements in a 3d matrix
Hey I have a 3d matric with size 359x180x360. I want now to create a new matrix with size 359x180x360 where all the elements h...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Average the 3rd dimension in a matrix
I have a 360x181x360. I want to average the 3rd dimension with 4, so I get a new matrix like 360x181x90. How can I do that?
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Sequence of a specific number in a matrix
Hey So my trouble is that I have a matrix, here a an example becuase my original matrix is really big. 0 1 1 1 0 ...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
How to count a specific value from column to column
Hey Maybe a simple question. But if I have a vector lets say 15x1 vector like: [1 1 1 0 1 0 0 1 0 0 1 0 1 0 1] Now I want to ...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Combining cells into a single cell
Hi there I have a variable called z in a 9x1 cell. See the picture: Is ther anyway to combine the cells to one cell like 360...
environ 6 ans il y a | 2 réponses | 0
2
réponsesQuestion
Error: Index exceeds array bounds
Hi I have tried this question before but now the question will be more simplyfied. Sorry for the last! I have used a for loop ...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Index exceeds array bounds and some other mistakes
Hi I have some problems with my code and really need help to finding the error. I stared at me blindly. Anyone who will take...
environ 6 ans il y a | 2 réponses | 0
2
réponsesQuestion
Error: Invalid use of operator with nc files
Hi I have a code where i run a couple of nc-files. I have make a for loop so I can run it over all the time steps and for all t...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Index exceeds array bounds
Hi When I run my code, I got the error "Index exceed array bounds. I am not sure what it's mean? I got it in the line "z{i} ...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Error "Could not open file 'ncfiles'". when using a for loop to open ncfiles
Hi I have 469 ncfiles and I open them in a loop: ncfiles = dir('*.nc') ; Nfiles = length(ncfiles) ; for i = 1:Nfiles; ...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Percentage of a value in a table rows matlab
Hi I want to find a certain value in each row in a table. An example: [3 5 4 6 2 7 5 11 12 2; 1 4 3 6 7 5 3 7 12 10 15; 6 8 7 ...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Error using cat: Dimensions of arrays being concatenated are not consistent.
I want to combine 4 matrices with dimensions: z = 360x181x124 z1 = 360x181x124 z2 = 360x181x112 z3 = 360x181x124 I use the...
environ 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Make a timevector with netcdf
Hi I hvae 4 time vectors with the same interval. And I hvae 4 variables vector (same variable) there is depending on the time....
environ 6 ans il y a | 1 réponse | 0
0
réponseQuestion
How to open multiple nc files
Hi I want to load data from 4 different .nc files (four months), but with the same structure and same variables. Can only read...
environ 6 ans il y a | 1 réponse | 0
0
réponseQuestion
How to read more than one netcdf file?
I got around 480 netcdf-files that needs to be run in the same matlab-script. The files are named in a logical format, like this...
environ 6 ans il y a | 1 réponse | 0
0
réponseQuestion
Invalid expression. Check for missing or extra characters.
Hi When I run my code I got an error message "Invalid expression. Check for missing or extra characters" for my if loop. I am...
environ 6 ans il y a | 7 réponses | 0
7
réponsesQuestion
How to make a Hovmoller plot?
Hi I'm trying to make a Hovmoller diagram with latitudes out of the x-axis and the time up of the y-axis. The actual plot is th...
plus de 6 ans il y a | 1 réponse | 0
0
réponseMaking a monthly mean
I think I understand your solution. You can see I have data for one month for every 6 hour and I want the mean for the month (o...
plus de 6 ans il y a | 0
Question
Making a monthly mean
Hi I have data for the geopotential for every 6 hours over a whole month. I want to get a mean over the data for the month. ...
plus de 6 ans il y a | 2 réponses | 0
2
réponsesQuestion
Plotting geoid mistake when using geoshow
Hi I hope someone can help me. I have this matlab code with a .nc file. When I plot it becomes my geostrophic wind, vg, plot s...
plus de 6 ans il y a | 1 réponse | 0
0
réponseQuestion
pcolor plot on a geoid
Hi How can I plot my pcolor in a geoid? When I plotting I just get a white map with no data. figure(4) [c,h]=cont...
plus de 6 ans il y a | 1 réponse | 0
0
réponseQuestion
The size of X must match the size of Z or the number of columns of Z.
Hi there I have a netcdf file I have running in MatLab. But I want to plot contour lines for the geostrophic wind. When I r...
plus de 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Plot data from netcdf file
Hi I'm having trouble plotting my netcdf file. I use pcolor, but the first time I tried I had noted Z'. This broke it over ...
plus de 6 ans il y a | 1 réponse | 0