A répondu
How do I plot wireless signal strength measurements using a spherical plot
You may try to plot the *polar* plots for X-Y, X-Z, and Y-Z planes, and choose to use decibel (dB) scale or *log* scale. Read m...

presque 9 ans il y a | 0

A répondu
Anonymous function alternative for MATLAB Coder?
You may write out your function with extra arguments as object. First define this class, classdef FcnWithArgs prop...

presque 9 ans il y a | 0

A répondu
How to compute execution time?
Have you tried, # >>doc timeit # >>doc profile Using *timeit* is easy but your script has to be in a function form. Usin...

presque 9 ans il y a | 0

A répondu
How to break out of a while loop inside a function block ?
Changing your code to, keep = true; h = figure('KeyPressFcn',@() keep= ~keep ); while keep ...

presque 9 ans il y a | 0

A résolu


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

presque 9 ans il y a

A répondu
"findobj" for user defined class?
While @Steve Lord has answered the question "why you shouldn't do this," I'll go ahead and try to answer how you can do this, an...

presque 9 ans il y a | 1

| A accepté

A répondu
shade area under a semilog plot
Hello @monkey_matlab, After some experimenting I find the following a interesting variant for your requirement, close al...

presque 9 ans il y a | 1

A répondu
How to simulate precession?
MATLAB has lots of tools to plot/visualize the fields/flows, including but not limited to the following, doc plot3 ...

presque 9 ans il y a | 0

A répondu
How to detect the simulation start command (Run Button of a model) for inserting user commands before the 'SimulationStatus' takes the value 'start'?
Hello Richard, I assume you want to modify properties of a block on 'initialization of simulation'. You have callbacks on ...

presque 9 ans il y a | 0

A résolu


This is a palindrome and so am I
A palindrome is a sequence of characters which reads the same backward or forward, for instance 'a man a plan a canal panama'...

presque 9 ans il y a

A répondu
how to convert a parity matrix to systenatic form? eg:H=[1 1 0 0;1 0 0 1] to form h=[1 0 ? ?;0 1??] i.e h=[I:P] in place of ? it can be 0 or 1
You may try to make the matrix into a Row Echelon form. This is similar to a technique of manually finding the matrix inverse <h...

presque 9 ans il y a | 0

A répondu
saving mat file changes my structures!
Your problem maybe that you are loading wrong, whereas your *save* code seems OK. Try this code for your load function, ...

presque 9 ans il y a | 0

A répondu
How can i import audio from a zip file into matlab to generate the autocorrelation, pitch, and linear prediction
Try # doc wavread # doc audioread # doc unzip

presque 9 ans il y a | 0

A répondu
compute mapping matrix between two label matrix
Try using the MATLAB function <http://www.mathworks.com/help/matlab/ref/mode.html mode> e.g. mode( B(A==1) ) returns *...

presque 9 ans il y a | 0

| A accepté

A répondu
problem with anonymous function in executable
While I don't have a explanation of why you are seeing this error, I have a suggestion to rewrite your code. Generally _funct...

presque 9 ans il y a | 0

| A accepté

A répondu
Hello can somebody tell me what I am doing wrong?
Hi Pittman, In addition to the answer by Jos, I have some observations for you: # Enter the data at your runtime as '5', a...

presque 9 ans il y a | 0

A répondu
Gridding data set and highlighting selection
I recommend you to read basic plotting tutorial using MATLAB and use some standard plotting functions like below, # plot func...

presque 9 ans il y a | 0

A répondu
Need MATLAB coding for vehicle routing problem with time windows
Sripriya, Please use the <http://www.mathworks.com/matlabcentral/fileexchange/ MATLAB file exchange> and run search with the ...

presque 9 ans il y a | 0

A répondu
How to rotate all my measurements of an object to a single reference line fixed in the object.
Hello Snehalatha, Can you share more details - like a sample image, code etc. ? I assume you have to find the gear axle po...

presque 9 ans il y a | 0

A répondu
Rotate x axis labels boxplot Matlab 2015
I don't know how to rotate the lables, even though using the graphObj = gca disp( graphObj.XLabel.Rotation ) allow...

presque 9 ans il y a | 0

A répondu
For loop expansion summation
It seems to me you are trying to write a tensor like summation; you will be well advised to use matrix products by re-arranging ...

presque 9 ans il y a | 0

A répondu
Is it possible to create a structure with fields but without defined values?
Yes. z = struct('fieldname1',[],'fieldname2',[]) z.fieldname1 z.fieldname2

presque 9 ans il y a | 1

A répondu
How do I append data to a MAT file from C++?
The two alternatives are nicely laid out by Adam, and James. # Adam's recommendation is to use the Mex API. # James's recomm...

presque 9 ans il y a | 0

A répondu
run a script that generates a structure within a function
You maybe looking for the *evalin* function, currValueOfWorkspaceVar = evalin('base','variableDefinedInBaseWorkSpace') ...

presque 9 ans il y a | 0

| A accepté

A répondu
How to make exponents superscripted on plots instead of with e notation?
Whereas some options may exist, a simple work around does the trick following your hint; var2exp = @( varname, var ) [rege...

presque 9 ans il y a | 0

A répondu
Running Functions in For Loop
You can develop a solution using str2func() to turn the string into a function handle. First generate a list of 10 strings, ...

presque 9 ans il y a | 0

| A accepté

A résolu


Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

plus de 9 ans il y a

A résolu


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

plus de 9 ans il y a

A résolu


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

plus de 9 ans il y a

A résolu


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

plus de 9 ans il y a

Charger plus