![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8083664_1518515676490_DEF.jpg)
Praveen Iyyappan Valsala
Followers: 0 Following: 0
統計
All
Feeds
解決済み
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
4年以上 前
回答済み
Plot handle to return single object
You can use set function. hraw_mean.set('Visible','off'); That sets Visible proptery of all cells to off. If you want to set ...
Plot handle to return single object
You can use set function. hraw_mean.set('Visible','off'); That sets Visible proptery of all cells to off. If you want to set ...
5年弱 前 | 0
| 採用済み
回答済み
Surface plot above a non-rectangular region
You can simply create a binary mask of the polygon region and set all Z values to NaN outside the mask. NaN values are not plott...
Surface plot above a non-rectangular region
You can simply create a binary mask of the polygon region and set all Z values to NaN outside the mask. NaN values are not plott...
5年弱 前 | 2
| 採用済み
回答済み
Add text above grouped bars
'%%' is the escape sequence for percentage symbol as shown here. sprintfc('%.1f %%', ydt(k1,:))
Add text above grouped bars
'%%' is the escape sequence for percentage symbol as shown here. sprintfc('%.1f %%', ydt(k1,:))
5年弱 前 | 0
| 採用済み
解決済み
Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...
5年弱 前
解決済み
Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...
5年弱 前
回答済み
How can i make a partition matrix
If you want to list all possible partitions. Not suitable for large k. randoms = 0.1:0.1:0.9; %Index of all permutations wi...
How can i make a partition matrix
If you want to list all possible partitions. Not suitable for large k. randoms = 0.1:0.1:0.9; %Index of all permutations wi...
5年弱 前 | 0
回答済み
Distinct sum of 3 variable which ranges between 1-255
I didn't understand your way for making the sum unique. This dirty code gives you 255 (x,y,z) whose sums are unique. sumArr=-1*...
Distinct sum of 3 variable which ranges between 1-255
I didn't understand your way for making the sum unique. This dirty code gives you 255 (x,y,z) whose sums are unique. sumArr=-1*...
5年弱 前 | 1
回答済み
how to call functions properly: Index in position 1 is invalid. Array indices must be positive integers or logical values.
In your runge function, f is a string not a function. k1=eval(strcat(f,'(t(i),y(:,i));'));%f(t(i),y(:,i)); %here is where ...
how to call functions properly: Index in position 1 is invalid. Array indices must be positive integers or logical values.
In your runge function, f is a string not a function. k1=eval(strcat(f,'(t(i),y(:,i));'));%f(t(i),y(:,i)); %here is where ...
5年弱 前 | 1
| 採用済み
回答済み
Help with plotting 3d function
Most intuitive way is to add another loop to sum up function outputs of all n. for i=1 : length(x) for j=1 : length(t) ...
Help with plotting 3d function
Most intuitive way is to add another loop to sum up function outputs of all n. for i=1 : length(x) for j=1 : length(t) ...
5年弱 前 | 0
回答済み
Random display of 'even' or 'odd'
Pi has equal distribution of all digits i.e odd and even digits are uniformly distributed. so you can simply use rand function w...
Random display of 'even' or 'odd'
Pi has equal distribution of all digits i.e odd and even digits are uniformly distributed. so you can simply use rand function w...
5年弱 前 | 0
回答済み
Facing problem in generating a mex file
Could be because of the spaces in the file paths. Try encapsulating them in double quotes. mex generateEllipseCandidates.cpp -I...
Facing problem in generating a mex file
Could be because of the spaces in the file paths. Try encapsulating them in double quotes. mex generateEllipseCandidates.cpp -I...
5年弱 前 | 0
回答済み
Trapezoidal pulse generation using gensig() function
The answer is No! .I am not aware of any function which can do that for you. Try to adapt my function for your needs or write yo...
Trapezoidal pulse generation using gensig() function
The answer is No! .I am not aware of any function which can do that for you. Try to adapt my function for your needs or write yo...
5年弱 前 | 1
| 採用済み
送信済み
StructSearch(input_struct,search_term)
searches and returns details and child struct with matching parameters.
6年以上 前 | ダウンロード 2 件 |
質問
Any function to get a short description of a variable just like the Value column in workspace?.
I have a struct with >4000 members/fields. I am writing a search function to find some matching members and displaying them alon...
6年以上 前 | 1 件の回答 | 0
1
回答回答済み
I want to reduce accuracy and precision to 3 digits.
I don't know any inbulit function which can do that. But, you can try something like below trun=@(num,Ndigits)floor(a*10^Nd...
I want to reduce accuracy and precision to 3 digits.
I don't know any inbulit function which can do that. But, you can try something like below trun=@(num,Ndigits)floor(a*10^Nd...
6年以上 前 | 1