Answered
Matrix Dimension in Subroutine
for i=1:N FF(1:3,1:i) = ... So, clearly on the first iteration, this means assign something to: FF(1:3, 1:1) = ... %ass...

6 years ago | 0

Answered
Hex to Signed Int conversion of 16bit values in a Table with data type 'cell array of character vectors'
It returned 'cell' Assuming that the "" in your example are actual double quotes and not single quotes, then you've not created...

6 years ago | 1

Answered
How can I enter in matlab syntax two parameters which are not exist in the system of nonlinear ode?
I think you may be asking how to parametise your odes.

6 years ago | 0

| accepted

Answered
Mutiple Time series synchronization
I think this does what you want: contentfields = fieldnames(Content); for fieldidx = 1:numel(contentfields) %iterate over e...

6 years ago | 0

| accepted

Answered
Euclidean distance of adjacent pairs of matrix
I'm a bit confused by your question. You define something you want to do then ask us to explain your own definition. Isn't the d...

6 years ago | 0

Answered
Multiplying two double arrays within a structure
It sounds like you want to vertically concatenate the result of the multiplication for each element of your structure array. Wi...

6 years ago | 0

| accepted

Answered
"Warning: Name is nonexistent or not a directory: " Error Message if I enter the path of a file I want to import
As KSSV shows, the proper way to build a path containing the folder and name of a file you want to import is with fullfile, and ...

6 years ago | 0

Answered
i have 16 different types of files and i have to take the files in the bunch of 5 from the 16 files, how i put permutation and combination to get 5 files from the 16 files each time differently?
Not clear what you call file when you only show numbers. To get 5 distinct random numbers from the range 1:16: randperm(16, 5)

6 years ago | 0

| accepted

Answered
'σ' is not a valid table variable name.
The problem is not excel but matlab, which currently only allows valid matlab variable names as table variables. For the moment,...

6 years ago | 0

| accepted

Answered
How to collect individual bunches of data in a column of a matrix
Assuming that the length of your column vector is a multiple of 203+813 (if not, what should be done for the last bit that is to...

6 years ago | 1

| accepted

Answered
Jump in calculation results
I'm unclear what you're trying to do with your double for loop. You haven't told us what Anzahl and MaxDateienGroesse stand for,...

6 years ago | 1

Answered
'num2str' Error
Yes, what you have written makes no sense at all. You want to convert the numeric content of students(i).ID to text, so that's w...

6 years ago | 0

| accepted

Answered
pick up elements from a cell array and the result must be a cell array
With a cell array, {} operates on the content of the cells, () operates on the cell array itself. So, to crop a cell array: ne...

6 years ago | 0

| accepted

Answered
how to multiply each element of a cell array by a different scalar
The easiest would be: result = cellfun(@times, V, num2cell(a), 'UniformOutput', false) or just use a loop. Note that V and a ...

6 years ago | 2

| accepted

Answered
convert image pixels to binary file
Definition of a binary file You don't mean file at all. FPGAs can't access files. If your FPGA need access to the whole image,...

6 years ago | 0

Answered
Insert desired number of spaces in the string contains numerical value
The clearest way to achieve what you want is to put the spaces explicitly in your format string: txt = sprintf('0 ...

6 years ago | 0

| accepted

Answered
Confusion on total number of blocks produced after splitting image into overlapping blocks.
I don't think you got it right. First, starts with non-overlapping blocks, how many blocks do you have if divide M columns into...

6 years ago | 0

| accepted

Answered
i am applying Arnold's transform on the pixels
Your image is of type 'uint8'. This means the range of intensities is between 0 and 255 (included). If you sum two uint8 and the...

6 years ago | 0

| accepted

Answered
Saving an array of complex numbers within a loop
Note: you should extract your constants definition out of the loops. Also, there's no point in having two names for the same con...

6 years ago | 0

| accepted

Answered
Difference between im2bw and imbinarize?
You can look at the source code of both functions to see the difference in implementation edit im2bw.m edit imbinarize.m In t...

6 years ago | 2

Answered
Convert date timestamp into Datenum
a) You shouldn't be using datenum. They're completely obsolete and everything you could do with them, you can do with datetime, ...

6 years ago | 0

| accepted

Answered
With activeX server running Excel, access the cells syntax on range property
As Bob showed you can compute the address as text to pass to the Range property directly. However, that gets a bit complicated i...

6 years ago | 0

| accepted

Answered
How to name different groupes of variables in one vector with indices of another?
It's annoying that compose doesn't accept positions identifiers in the format string, otherwise this could have been done in jus...

6 years ago | 0

Answered
Is there a way to export table with sub structures to excel w/o looing the structure?
Matlab will certainly never write your original table the way you want. You will have to convert it into a new table. The follo...

6 years ago | 0

Answered
Datime User Input Problem
The problem is because of your unnecessary transition through datenum. When you do this: Start= datenum(answer(1,1)); matlab i...

6 years ago | 0

Answered
How to make a class object respond to a long stream of event listener callbacks only at the end of the stream of events
I guess this follows from your previous question. As there's no matlab not busy kind of notification, I think the only way you ...

6 years ago | 1

| accepted

Answered
find index of an arry in matlab
ismember is indeed the functio to use: [~, where] = ismember(ArrayToBeFound, BigArray) where is the index of the 1st element w...

6 years ago | 1

| accepted

Answered
Empty index from loop
Importing your data as a table (which should automatically import dates as datetime): meta = readtable('Incidents_and_Headcount...

6 years ago | 1

| accepted

Answered
Sum up daily values to monthly values in a table of different company identifiers
It's trivial to do any number of ways. But first, your date must be stored as a proper datetime. If it's stored as you show: yo...

6 years ago | 1

| accepted

Answered
Difference between blockproc() and for loop method of splitting an image with overlap?
Hum, a for loop just iterates over whatever you want and execute whichever code you want. You can write a for loop that does exa...

6 years ago | 0

Load more